class

Cryplot::HistogramStyle

Inherits Cryplot::BaseMixin / Reference / Object

class used to specify histogram style options

Constructors

Instance methods

clustered

Set the histogram style to be clustered.

Source
clustered_with_gap(value : Float64)

Set the histogram style to be clustered with a given gap size.

Source
column_stacked

Set the histogram style to be stacked with groups formed using data along columns.

Source
error_bars

Set the histogram style to be with error bars.

Source
error_bars_with_gap(value : Float64)

Set the histogram style to be with error bars and also set its gap size.

Source
error_bars_with_line_width(value : Float64)

Set the histogram style to be with error bars and also set its line width.

Source
repr

returns a string representation of object of some class

Source
row_stacked

Set the histogram style to be stacked with groups formed using data along rows.

Source
to_s(io : IO) : Nil

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>
Source