Class: Quby::Questionnaires::Entities::Charting::RadarChart
- Defined in:
- lib/quby/questionnaires/entities/charting/radar_chart.rb
Instance Attribute Summary collapse
Attributes inherited from Chart
#chart_type, #key, #plottables, #tick_interval, #title, #y_categories, #y_range, #y_range_categories
Instance Method Summary collapse
-
#initialize(key, plotlines: nil, **kwargs) ⇒ RadarChart
constructor
A new instance of RadarChart.
Methods inherited from Chart
Constructor Details
#initialize(key, plotlines: nil, **kwargs) ⇒ RadarChart
Returns a new instance of RadarChart.
13 14 15 16 |
# File 'lib/quby/questionnaires/entities/charting/radar_chart.rb', line 13 def initialize(key, plotlines: nil, **kwargs) super(key, **kwargs) self.plotlines = plotlines || [] end |
Instance Attribute Details
#plotlines ⇒ Array
11 12 13 |
# File 'lib/quby/questionnaires/entities/charting/radar_chart.rb', line 11 def plotlines @plotlines end |