Class: Rust::Plots::BarPlot

Inherits:
BasePlot show all
Defined in:
lib/rust/plots/basic-plots.rb

Instance Method Summary collapse

Methods inherited from BasePlot

#[]=, #_add_renderable, #_do_not_override_options!, #axis, #color, #grid, #palette, #pdf, #show, #title, #x_label, #x_range, #y_label, #y_range

Constructor Details

#initialize(bars) ⇒ BarPlot

Returns a new instance of BarPlot.



90
91
92
93
# File 'lib/rust/plots/basic-plots.rb', line 90

def initialize(bars)
    super()
    @bars = bars
end