class Cryplot::Grid

Overview

class used to specify options for grid

Defined in:

plot/elems/grid.cr

Constructors

Instance Method Summary

Instance methods inherited from class Cryplot::GridBase

repr : String repr, to_s(io : IO) : Nil to_s

Constructor methods inherited from class Cryplot::GridBase

new(tics : String = "", majortics : Bool = true) new

Instance methods inherited from module Cryplot::ShowMixin(Cryplot::GridBase)

hidden? : Bool hidden?, hide hide, show(value = true) show, show_repr show_repr

Instance methods inherited from module Cryplot::BaseMixin(Cryplot::GridBase)

derived : T derived, repr : String repr, to_s(io : IO) : Nil to_s

Instance methods inherited from module Cryplot::DepthMixin(Cryplot::GridBase)

back : T back, behind : T behind, depth_repr : String depth_repr, front : T front

Instance methods inherited from module Cryplot::BaseMixin(Cryplot::GridBase)

derived : T derived, repr : String repr, to_s(io : IO) : Nil to_s

Instance methods inherited from module Cryplot::LineMixin(Cryplot::GridBase)

dash_type(val : Int32) dash_type, line_color(color : String) line_color, line_repr : String line_repr, line_style(val : Int32) line_style, line_type(val : Int32) line_type, line_width(val : Int32) line_width

Instance methods inherited from module Cryplot::BaseMixin(Cryplot::GridBase)

derived : T derived, repr : String repr, to_s(io : IO) : Nil to_s

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def repr : String #
Description copied from module Cryplot::BaseMixin(Cryplot::GridBase)

returns a string representation of object of some class


[View source]
def rtics #

Return the specifications of the grid lines along major rtics.


[View source]
def rtics_major #

Return the specifications of the grid lines along minor rtics.


[View source]
def rtics_minor #

Return the specifications of the grid lines along minor rtics.


[View source]
def to_s(io : IO) : Nil #
Description copied from class Reference

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>

[View source]
def xtics #

Return the specifications of the grid lines along major xtics on the bottom axis.


[View source]
def xtics_major_bottom #

Return the specifications of the grid lines along major xtics on the bottom axis.


[View source]
def xtics_major_top #

Return the specifications of the grid lines along major xtics on the top axis.


[View source]
def xtics_minor_bottom #

Return the specifications of the grid lines along minor xtics on the bottom axis.


[View source]
def xtics_minor_top #

Return the specifications of the grid lines along minor xtics on the top axis.


[View source]
def ytics #

Return the specifications of the grid lines along major ytics on the left axis.


[View source]
def ytics_major_left #

Return the specifications of the grid lines along major ytics on the left axis.


[View source]
def ytics_major_right #

Return the specifications of the grid lines along major ytics on the right axis.


[View source]
def ytics_minor_left #

Return the specifications of the grid lines along major ytics on the right axis.


[View source]
def ytics_minor_right #

Return the specifications of the grid lines along major ytics on the left axis.


[View source]
def ztics #

Return the specifications of the grid lines along major ztics.


[View source]
def ztics_major #

Return the specifications of the grid lines along major ztics.


[View source]
def ztics_minor #

Return the specifications of the grid lines along minor ztics.


[View source]