Class: Rust::Plots::GGPlot::AxisScaler
- Defined in:
- lib/rust/external/ggplot2/scale.rb
Instance Method Summary collapse
-
#initialize(axis, type = :continuous, **options) ⇒ AxisScaler
constructor
A new instance of AxisScaler.
Methods inherited from Layer
Constructor Details
#initialize(axis, type = :continuous, **options) ⇒ AxisScaler
Returns a new instance of AxisScaler.
5 6 7 8 9 10 |
# File 'lib/rust/external/ggplot2/scale.rb', line 5 def initialize(axis, type = :continuous, **) @axis = axis @type = type super("scale_#{@axis}_#{@type}", **) end |