Class: Haskii::HtmlChart
Instance Method Summary collapse
Methods inherited from BarChart
Constructor Details
This class inherits a constructor from Haskii::BarChart
Instance Method Details
#render ⇒ Object
4 5 6 7 8 9 |
# File 'lib/haskii/html_chart.rb', line 4 def render cells = @matrix.map { |row| add_tag('tr', transform_to_cells(row)) } .join add_tag('table', cells) end |