summaryrefslogtreecommitdiffstats
path: root/tests/bargraph.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bargraph.tcl')
-rw-r--r--tests/bargraph.tcl137
1 files changed, 68 insertions, 69 deletions
diff --git a/tests/bargraph.tcl b/tests/bargraph.tcl
index 20f067d..ec2fb57 100644
--- a/tests/bargraph.tcl
+++ b/tests/bargraph.tcl
@@ -1,79 +1,78 @@
source base.tcl
set w .bar
-set graph [bltBarGraph $w]
+set bltgr [bltBarGraph $w]
puts stderr "Testing Bar Graph..."
-# Graph
-bltTest $graph -aspect 2 $dops
-bltTest $graph -background red $dops
-bltTest $graph -barmode stacked $dops
-bltTest $graph -barmode aligned $dops
-bltTest $graph -barmode overlap $dops
-bltTest $graph -barwidth .15 $dops
-#bltTest $graph -baseline $dops
-bltTest $graph -bd 50 $dops
-bltTest $graph -bg green $dops
-bltTest $graph -bm 50 $dops
-bltTest $graph -borderwidth 50 $dops
-bltTest $graph -bottommargin 50 $dops
-#bltTest $graph -bufferelements $dops
-#bltTest $graph -buffergraph $dops
-bltTest $graph -cursor cross $dops
-bltTest $graph -fg blue $dops
-bltTest $graph -font {times 36 bold italic} $dops
-bltTest $graph -foreground cyan $dops
-#bltTest $graph -halo $dops
-bltTest $graph -height 300 $dops
-#bltTest $graph -highlightbackground $dops
-#bltTest $graph -highlightcolor $dops
-#bltTest $graph -highlightthickness $dops
-bltTest $graph -invertxy yes $dops
-bltTest $graph -justify left $dops
-bltTest $graph -justify center $dops
-bltTest $graph -justify right $dops
-bltTest $graph -leftmargin 50 $dops
-bltTest $graph -lm 50 $dops
-bltTest $graph -plotbackground cyan $dops
-bltTest $graph -plotborderwidth 50 $dops
-bltTest $graph -plotpadx 50 $dops
-bltTest $graph -plotpady 50 $dops
-bltTest $graph -plotrelief groove $dops
-bltTest $graph -relief groove $dops
-bltTest $graph -rightmargin 50 $dops
-bltTest $graph -rm 50 $dops
-#bltTest $graph -searchhalo $dops
-#bltTest $graph -searchmode $dops
-#bltTest $graph -searchalong $dops
-#bltTest $graph -stackaxes $dops
-#bltTest $graph -takefocus $dops
-bltTest $graph -title "This is a Title" $dops
-bltTest $graph -tm 50 $dops
-bltTest $graph -topmargin 50 $dops
-bltTest $graph -width 300 $dops
-bltTest $graph -plotwidth 300 $dops
-bltTest $graph -plotheight 300 $dops
+bltTest $bltgr -aspect 2 $dops
+bltTest $bltgr -background red $dops
+bltTest $bltgr -barmode stacked $dops
+bltTest $bltgr -barmode aligned $dops
+bltTest $bltgr -barmode overlap $dops
+bltTest $bltgr -barwidth .15 $dops
+#bltTest $bltgr -baseline $dops
+bltTest $bltgr -bd 50 $dops
+bltTest $bltgr -bg green $dops
+bltTest $bltgr -bm 50 $dops
+bltTest $bltgr -borderwidth 50 $dops
+bltTest $bltgr -bottommargin 50 $dops
+#bltTest $bltgr -bufferelements $dops
+#bltTest $bltgr -buffergraph $dops
+bltTest $bltgr -cursor cross $dops
+bltTest $bltgr -fg blue $dops
+bltTest $bltgr -font {times 36 bold italic} $dops
+bltTest $bltgr -foreground cyan $dops
+#bltTest $bltgr -halo $dops
+bltTest $bltgr -height 300 $dops
+#bltTest $bltgr -highlightbackground $dops
+#bltTest $bltgr -highlightcolor $dops
+#bltTest $bltgr -highlightthickness $dops
+bltTest $bltgr -invertxy yes $dops
+bltTest $bltgr -justify left $dops
+bltTest $bltgr -justify center $dops
+bltTest $bltgr -justify right $dops
+bltTest $bltgr -leftmargin 50 $dops
+bltTest $bltgr -lm 50 $dops
+bltTest $bltgr -plotbackground cyan $dops
+bltTest $bltgr -plotborderwidth 50 $dops
+bltTest $bltgr -plotpadx 50 $dops
+bltTest $bltgr -plotpady 50 $dops
+bltTest $bltgr -plotrelief groove $dops
+bltTest $bltgr -relief groove $dops
+bltTest $bltgr -rightmargin 50 $dops
+bltTest $bltgr -rm 50 $dops
+#bltTest $bltgr -searchhalo $dops
+#bltTest $bltgr -searchmode $dops
+#bltTest $bltgr -searchalong $dops
+#bltTest $bltgr -stackaxes $dops
+#bltTest $bltgr -takefocus $dops
+bltTest $bltgr -title "This is a Title" $dops
+bltTest $bltgr -tm 50 $dops
+bltTest $bltgr -topmargin 50 $dops
+bltTest $bltgr -width 300 $dops
+bltTest $bltgr -plotwidth 300 $dops
+bltTest $bltgr -plotheight 300 $dops
-##bltCmd $graph axis
-bltCmd $graph cget -background
-bltCmd $graph configure
-bltCmd $graph configure
-bltCmd $graph configure -background cyan
-##bltCmd $graph crosshairs
-##bltCmd $graph element
-#bltCmd $graph extents
-#bltCmd $graph inside
-#bltCmd $graph invtransform
-##bltCmd $graph legend
-##bltCmd $graph marker
-##bltCmd $graph pen
-##bltCmd $graph postscript
-#bltCmd $graph transform
-##bltCmd $graph x2axis
-##bltCmd $graph xaxis
-##bltCmd $graph y2axis
-##bltCmd $graph yaxis
+##bltCmd $bltgr axis
+bltCmd $bltgr cget -background
+bltCmd $bltgr configure
+bltCmd $bltgr configure
+bltCmd $bltgr configure -background cyan
+##bltCmd $bltgr crosshairs
+##bltCmd $bltgr element
+#bltCmd $bltgr extents
+#bltCmd $bltgr inside
+#bltCmd $bltgr invtransform
+##bltCmd $bltgr legend
+##bltCmd $bltgr marker
+##bltCmd $bltgr pen
+##bltCmd $bltgr postscript
+#bltCmd $bltgr transform
+##bltCmd $bltgr x2axis
+##bltCmd $bltgr xaxis
+##bltCmd $bltgr y2axis
+##bltCmd $bltgr yaxis
puts stderr "done"
bltPlotDestroy $w