class GerbilCharts::Surfaces::PieSurface

Pie Surface

Constants

LEFT_LABEL_OFFSET
MIN_INSIDE_LABEL_ANGLE
MIN_OUTSIDE_LABEL_ANGLE
OUTER_OFFSET_X
OUTER_OFFSET_Y
PERCENT_OFFSET_X

Public Class Methods

new(opts={}) click to toggle source
Calls superclass method
# File lib/gerbilcharts/surfaces/pie_surface.rb, line 13
def initialize(opts={})
    super(opts)
  end

Public Instance Methods

int_render(g) click to toggle source
# File lib/gerbilcharts/surfaces/pie_surface.rb, line 17
def int_render(g)
    g.rectangle_r(@bounds, {:class => @class})
  end