ClassyTcl

  ChartGrid

Home    Documentation    Screenshots    Binary distributions    Source distribution   

subclass of Widget
ChartGrid is not a widget type. It is a class whose objects can be associated with a canvas widget. When a ChartGrid instance is associated with a canvas, it will draw a grid on this canvas. Several ChartGrid, LineChart and BarChart objects can be associated with the same canvas.

ChartGrid specific options

ChartGrid objects support the following options in its configure method
-canvas
name of canvas to draw the barchart
-tag
unique tag for all canvas items of the chart
-area
area in which to diplay the chart (a list of four numbers)
-xrange
xrange to display
-yrange
xrange to display
-xstep
numbers and gridlines are shown at startx+x*stepx
-ystep
numbers and gridlines are shown at starty+y*stepy
-font
font used for numbers
-showx
show numbers on x axis
-showy
show numbers on y axis

ChartGrid specific methods

pathname destroy
pathname configure ?option? ?value? ?option value ...?
pathname redraw

Peter De Rijk
hosted at SourceForge.net Logo