class Cryplot::HistogramStyle
- Cryplot::HistogramStyle
- Reference
- Object
Overview
class used to specify histogram style options
Included Modules
Defined in:
plot/elems/histogram_style.crConstructors
Instance Method Summary
-
#clustered
Set the histogram style to be clustered.
-
#clustered_with_gap(value : Float64)
Set the histogram style to be clustered with a given gap size.
-
#column_stacked
Set the histogram style to be stacked with groups formed using data along columns.
-
#error_bars
Set the histogram style to be with error bars.
-
#error_bars_with_gap(value : Float64)
Set the histogram style to be with error bars and also set its gap size.
-
#error_bars_with_line_width(value : Float64)
Set the histogram style to be with error bars and also set its line width.
-
#repr : String
returns a string representation of object of some class
-
#row_stacked
Set the histogram style to be stacked with groups formed using data along rows.
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
Instance methods inherited from module Cryplot::BaseMixin(Cryplot::HistogramStyle)
derived : T
derived,
repr : String
repr,
to_s(io : IO) : Nil
to_s
Constructor Detail
Instance Method Detail
Set the histogram style to be clustered with a given gap size.
Set the histogram style to be stacked with groups formed using data along columns.
Set the histogram style to be with error bars and also set its gap size.
Set the histogram style to be with error bars and also set its line width.
returns a string representation of object of some class
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>