class Cryplot::MinorTics

Overview

The class used to specify options for minor tics of a specific axis.

Included Modules

Defined in:

plot/elems/tics.cr

Constructors

Instance Method Summary

Instance methods inherited from module Cryplot::BaseTics(Cryplot::MinorTics)

along_axis along_axis, along_border along_border, format(fmt : String) format, inside_graph inside_graph, logscale(base = 10) logscale, mirror(value = true) mirror, outside_graph outside_graph, repr(axis : String) : String repr, rotate(value = true) rotate, rotate_by(degrees : Number) rotate_by, scale_by(value : Number) scale_by, scale_major_by(value : Number) scale_major_by, scale_minor_by(value : Number) scale_minor_by, tics_base_repr : String tics_base_repr

Constructor methods inherited from module Cryplot::BaseTics(Cryplot::MinorTics)

new new

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

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

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

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

Instance methods inherited from module Cryplot::OffsetMixin(Cryplot::MinorTics)

offset_repr offset_repr, shift_along_graph_x(val : Number) shift_along_graph_x, shift_along_graph_y(val : Number) shift_along_graph_y, shift_along_screen_x(val : Number) shift_along_screen_x, shift_along_screen_y(val : Number) shift_along_screen_y, shift_along_x(val : Number) shift_along_x, shift_along_y(val : Number) shift_along_y

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

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

Instance methods inherited from module Cryplot::TextMixin(Cryplot::MinorTics)

enhanced(value : Bool) : T enhanced, text_color(color : String) : T text_color, text_repr : String text_repr

Instance methods inherited from module Cryplot::FontMixin(Cryplot::MinorTics)

font_name(name : String) : T font_name, font_repr : String font_repr, font_size(size : Int32) : T font_size

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

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

Constructor Detail

def self.new(axis : String) #

[View source]

Instance Method Detail

def automatic #

Set the number of minor tics between major tics to be identified automatically.


[View source]
def number(value : Int32) #

Set the number of minor tics between major tics.


[View source]
def repr : String #
Description copied from module Cryplot::BaseMixin(Cryplot::MinorTics)

returns a string representation of object of some class


[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]