Class: Quby::Questionnaires::DSL::RadarChartBuilder
- Inherits:
-
ChartBuilder
- Object
- ChartBuilder
- Quby::Questionnaires::DSL::RadarChartBuilder
- Defined in:
- lib/quby/questionnaires/dsl/charting/radar_chart_builder.rb
Instance Method Summary collapse
Methods inherited from ChartBuilder
#build, chart_class, #chart_type, #initialize, #plot, #range, set_chart_class, #tick_interval, #title, #validate!, #y_categories, #y_range_categories
Constructor Details
This class inherits a constructor from Quby::Questionnaires::DSL::ChartBuilder
Instance Method Details
#plotline(value, color) ⇒ Object
12 13 14 |
# File 'lib/quby/questionnaires/dsl/charting/radar_chart_builder.rb', line 12 def plotline(value, color) @chart.plotlines << {value: value, color: color, width: 1, zIndex: 3} end |