Sha256: 26d8eee2ddbda5e02a5e71a42c277e9063d3d4046bb13d4dc79fb2178830f1a2
Contents?: true
Size: 427 Bytes
Versions: 9
Compression:
Stored size: 427 Bytes
Contents
# frozen_string_literal: true require 'quby/questionnaires/entities/charting/bar_chart' require_relative 'chart_builder' module Quby module Questionnaires module DSL class BarChartBuilder < ChartBuilder set_chart_class(Entities::Charting::BarChart) def plotline(value, color) @chart.plotlines << {value: value, color: color, width: 1, zIndex: 3} end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems