Class: SmartChart::Bar
- Inherits:
-
MultipleDataSetChart
- Object
- BaseChart
- MultipleDataSetChart
- SmartChart::Bar
- Defined in:
- lib/smart_chart/charts/bar.rb
Instance Attribute Summary collapse
-
#bar_group_space ⇒ Object
space between bar groups (in pixels).
-
#bar_space ⇒ Object
space between bars (in pixels).
-
#bar_width ⇒ Object
bar width (in pixels).
Attributes inherited from BaseChart
#background, #data, #height, #legend, #margins, #orientation, #style, #width
Method Summary
Methods inherited from MultipleDataSetChart
Methods included from Axes
Methods included from GridLines
Methods inherited from BaseChart
#initialize, #to_html, #to_query_string, #to_url, #valid?, #validate!
Constructor Details
This class inherits a constructor from SmartChart::BaseChart
Instance Attribute Details
#bar_group_space ⇒ Object
space between bar groups (in pixels)
11 12 13 |
# File 'lib/smart_chart/charts/bar.rb', line 11 def @bar_group_space end |
#bar_space ⇒ Object
space between bars (in pixels)
8 9 10 |
# File 'lib/smart_chart/charts/bar.rb', line 8 def @bar_space end |
#bar_width ⇒ Object
bar width (in pixels)
5 6 7 |
# File 'lib/smart_chart/charts/bar.rb', line 5 def @bar_width end |