Class: ZTK::GoogleChart::Pie
Overview
GoogleChart Pie Chart
Constant Summary
Constant Summary
Constants included from Base::Dates
Instance Method Summary (collapse)
-
- (Pie) initialize(configuration = {})
constructor
A new instance of Pie.
Methods inherited from Base
Methods included from Base::Ticks
Methods included from Base::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 |