Class: Charty::Plotters::BoxPlotter

Inherits:
CategoricalPlotter show all
Defined in:
lib/charty/plotters/box_plotter.rb

Instance Attribute Summary

Attributes inherited from CategoricalPlotter

#group_label, #group_names, #order, #plot_data, #value_label

Attributes inherited from AbstractPlotter

#color, #data, #palette, #x, #y

Instance Method Summary collapse

Methods inherited from CategoricalPlotter

#initialize

Methods inherited from AbstractPlotter

#initialize, #to_iruby

Constructor Details

This class inherits a constructor from Charty::Plotters::CategoricalPlotter

Instance Method Details

#renderObject



4
5
6
7
8
9
10
# File 'lib/charty/plotters/box_plotter.rb', line 4

def render
  backend = Backends.current
  backend.begin_figure
  draw_box_plot(backend)
  annotate_axes(backend)
  backend.show
end