class Quby::Compiler::DSL::LineChartBuilder
Public Instance Methods
baseline(value)
click to toggle source
# File lib/quby/compiler/dsl/charting/line_chart_builder.rb, line 20 def baseline(value) @chart.baseline = value end
clinically_relevant_change(value)
click to toggle source
# File lib/quby/compiler/dsl/charting/line_chart_builder.rb, line 24 def clinically_relevant_change(value) @chart.clinically_relevant_change = value end
tonality(value)
click to toggle source
# File lib/quby/compiler/dsl/charting/line_chart_builder.rb, line 16 def tonality(value) @chart.tonality = value end
validate!()
click to toggle source
# File lib/quby/compiler/dsl/charting/line_chart_builder.rb, line 28 def validate! fail "Chart #{@chart.key} has no range specified" unless @chart.y_range end
y_axis_label(label)
click to toggle source
# File lib/quby/compiler/dsl/charting/line_chart_builder.rb, line 12 def y_axis_label(label) @chart.y_label = label end