Class: PlotSimple::Charts::PieChart

Inherits:
BarChart
  • Object
show all
Defined in:
lib/plot_simple.rb

Instance Attribute Summary

Attributes inherited from BarChart

#backgroundImage, #background_color, #borderColor, #categories, #height, #lineColor, #pointLabels, #seriesColors, #template, #title, #type, #width

Instance Method Summary collapse

Methods inherited from BarChart

#addCategory, #addSeriesColor, #setBackgroundColor, #setBackgroundImage, #setBorderColor, #setHeight, #setLineColor, #setTemplate, #setTitle, #setWidth

Constructor Details

#initializePieChart

Pretty much exactly the same as barchart as of 7/30/2012, so inherit from it… override initialize so we can use a method to get at XML later



67
68
69
# File 'lib/plot_simple.rb', line 67

def initialize
  @type = "pie"
end