Class: SmartChart::Bar

Inherits:
MultipleDataSetChart show all
Defined in:
lib/smart_chart/charts/bar.rb

Instance Attribute Summary collapse

Attributes inherited from BaseChart

#background, #data, #height, #legend, #margins, #orientation, #style, #width

Method Summary

Methods inherited from MultipleDataSetChart

line_styles

Methods included from Axes

auto_label_interval, included

Methods included from GridLines

included

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_spaceObject

space between bar groups (in pixels)



11
12
13
# File 'lib/smart_chart/charts/bar.rb', line 11

def bar_group_space
  @bar_group_space
end

#bar_spaceObject

space between bars (in pixels)



8
9
10
# File 'lib/smart_chart/charts/bar.rb', line 8

def bar_space
  @bar_space
end

#bar_widthObject

bar width (in pixels)



5
6
7
# File 'lib/smart_chart/charts/bar.rb', line 5

def bar_width
  @bar_width
end