lib/prawn/graph/grid.rb in prawn-graph-0.0.2 vs lib/prawn/graph/grid.rb in prawn-graph-0.0.3
- old
+ new
@@ -1,6 +1,11 @@
module Prawn
module Chart
+
+ # Prawn::Chart::Grid represents the area whcih your data will be plotted. It
+ # is drawn before your data is plotted and serves to mark where the axes of
+ # your plot will be and to give an indication of scale.
+ #
class Grid
attr_accessor :width, :height, :point, :spacing, :document
def initialize(grid_x_start, grid_y_start, grid_width, grid_height, spacing, document)