Class: Quby::Questionnaires::Entities::Charting::OverviewChart
- Defined in:
- lib/quby/questionnaires/entities/charting/overview_chart.rb
Instance Attribute Summary collapse
-
#subscore ⇒ Object
Symbol.
-
#y_max ⇒ Object
Integer.
Attributes inherited from Chart
#chart_type, #key, #plotbands, #plotlines, #plottables, #tick_interval, #title, #y_categories, #y_range, #y_range_categories
Instance Method Summary collapse
-
#initialize(subscore: nil, y_max: nil) ⇒ OverviewChart
constructor
A new instance of OverviewChart.
Methods inherited from Chart
Constructor Details
#initialize(subscore: nil, y_max: nil) ⇒ OverviewChart
Returns a new instance of OverviewChart.
14 15 16 17 |
# File 'lib/quby/questionnaires/entities/charting/overview_chart.rb', line 14 def initialize(subscore: nil, y_max: nil) self.subscore = subscore self.y_max = y_max end |
Instance Attribute Details
#subscore ⇒ Object
Returns Symbol.
9 10 11 |
# File 'lib/quby/questionnaires/entities/charting/overview_chart.rb', line 9 def subscore @subscore end |
#y_max ⇒ Object
Returns Integer.
12 13 14 |
# File 'lib/quby/questionnaires/entities/charting/overview_chart.rb', line 12 def y_max @y_max end |