Class: ZTK::GoogleChart::Pie

Inherits:
Base
  • Object
show all
Defined in:
lib/ztk/google_chart/pie.rb

Overview

GoogleChart Pie Chart

Constant Summary

Constant Summary

Constants included from Base::Dates

Base::Dates::DATE_HELPERS

Instance Method Summary (collapse)

Methods inherited from Base

#body, #generate_id, #render

Methods included from Base::Ticks

#tick_seed

Methods included from Base::Options

#options, #options=

Methods included from Base::Dates

#date_format, #date_scale, #date_seed, #date_wrapper

Methods included from Base::DataTable

#data_table, #data_table_function, #data_table_render

Methods included from Base::ArrayToDataTable

#array_to_data_table, #array_to_data_table_function, #array_to_data_table_render

Methods inherited from Base

build_config, #config, #direct_log, hash_config, log_and_raise, #log_and_raise

Constructor Details

- (Pie) initialize(configuration = {})

Returns a new instance of Pie



7
8
9
# File 'lib/ztk/google_chart/pie.rb', line 7

def initialize(configuration={})
  super({ :type => 'PieChart' }.merge(configuration))
end