class used to specify histogram style options
Instance methods
clustered
Set the histogram style to be clustered.
Sourceclustered_with_gap(value :
Float64)
Set the histogram style to be clustered with a given gap size.
Sourcecolumn_stacked
Set the histogram style to be stacked with groups formed using data along columns.
Sourceerror_bars
Set the histogram style to be with error bars.
Sourceerror_bars_with_gap(value :
Float64)
Set the histogram style to be with error bars and also set its gap size.
Sourceerror_bars_with_line_width(value :
Float64)
Set the histogram style to be with error bars and also set its line width.
Sourcerepr
returns a string representation of object of some class
Sourcerow_stacked
Set the histogram style to be stacked with groups formed using data along rows.
SourceAppends 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