Class: GerbilCharts::Surfaces::BasicGrid

Inherits:
Grid show all
Defined in:
lib/gerbilcharts/surfaces/basic_grid.rb

Overview

Basic Grid - just X-markers light dashed

Constant Summary

Constants inherited from GraphElement

GraphElement::EXP_FILL, GraphElement::EXP_FIXED, GraphElement::ORIENT_EAST, GraphElement::ORIENT_NORTH, GraphElement::ORIENT_NORTHEAST, GraphElement::ORIENT_NORTHWEST, GraphElement::ORIENT_OVERLAY, GraphElement::ORIENT_SOUTH, GraphElement::ORIENT_SOUTHEAST, GraphElement::ORIENT_SOUTHWEST, GraphElement::ORIENT_WEST

Instance Attribute Summary

Attributes inherited from Grid

#tick_count

Attributes inherited from GraphElement

#bounds, #class, #group, #lay_dimension, #lay_expand, #lay_orient, #parent

Instance Method Summary collapse

Methods inherited from GraphElement

#align_to_anchor, #get_global_option, #isoverlay?, #munch, #needslayout?, #render, #render_direct, #scale_x, #scale_y, #setbounds, #setparent

Constructor Details

#initialize(opts = {}) ⇒ BasicGrid

Returns a new instance of BasicGrid.



6
7
8
9
# File 'lib/gerbilcharts/surfaces/basic_grid.rb', line 6

def initialize(opts={})
  super(opts)
  @class = "grid"
end

Instance Method Details

#int_render(g) ⇒ Object



11
12
13
# File 'lib/gerbilcharts/surfaces/basic_grid.rb', line 11

def int_render(g)
  super
end