summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjoye <joye>2014-05-21 17:48:12 (GMT)
committerjoye <joye>2014-05-21 17:48:12 (GMT)
commit563c5a692a80087669d4ed6525904ca1382e04be (patch)
tree74bf348c65a62055ba75011223f5846a5a988124 /tests
parentc27d1c22fc7730a73537ea360021c2e5909570b0 (diff)
downloadblt-563c5a692a80087669d4ed6525904ca1382e04be.zip
blt-563c5a692a80087669d4ed6525904ca1382e04be.tar.gz
blt-563c5a692a80087669d4ed6525904ca1382e04be.tar.bz2
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r--tests/axis.tcl91
1 files changed, 75 insertions, 16 deletions
diff --git a/tests/axis.tcl b/tests/axis.tcl
index a55ff9e..ffddcb1 100644
--- a/tests/axis.tcl
+++ b/tests/axis.tcl
@@ -4,26 +4,85 @@ set w .line
set graph [bltLineGraph $w]
$graph axis configure x -title "X Axis" -limitsformat "%g"
+#$graph axis configure y -bd 4
+bltCmd $graph axis activate y
echo "Testing Axis..."
bltCmd $graph axis configure x
-#bltCmd $graph axis activate
-#bltCmd $graph axis bind
-#bltCmd $graph axis cget
-#bltCmd $graph axis configure
-#bltCmd $graph axis create
-#bltCmd $graph axis deactivate
-#bltCmd $graph axis delete
-#bltCmd $graph axis focus
-#bltCmd $graph axis get
-#bltCmd $graph axis invtransform
-#bltCmd $graph axis limits
-#bltCmd $graph axis margin
-#bltCmd $graph axis names
-#bltCmd $graph axis transform
-#bltCmd $graph axis type
-#bltCmd $graph axis view
+bltTest3 $graph axis y -activeforeground red
+##bltTest3 $graph axis y -activerelief groove
+#bltTest3 $graph axis x -autorange 10
+bltTest3 $graph axis x -background yellow
+bltTest3 $graph axis x -bg cyan
+#bltTest3 $graph axis x -bindtags
+##bltTest3 $graph axis x -bd 2
+##bltTest3 $graph axis x -borderwidth 4
+#bltTest3 $graph axis x -checklimits
+bltTest3 $graph axis x -color red
+#bltTest3 $graph axis x -command
+bltTest3 $graph axis x -descending yes
+bltTest3 $graph axis x -exterior no
+bltTest3 $graph axis x -fg magenta
+bltTest3 $graph axis x -foreground yellow
+bltTest3 $graph axis x -grid no
+bltTest3 $graph axis x -gridcolor blue
+bltTest3 $graph axis x -griddashes {8 3}
+bltTest3 $graph axis x -gridlinewidth 2
+bltTest3 $graph axis x -gridminor no
+bltTest3 $graph axis x -gridminorcolor blue
+bltTest3 $graph axis x -gridminordashes {8 3}
+bltTest3 $graph axis x -gridminorlinewidth 2
+bltTest3 $graph axis x -hide yes
+##bltTest3 $graph axis x -justify left
+bltTest3 $graph axis x -labeloffset yes
+bltTest3 $graph axis x -limitscolor red
+bltTest3 $graph axis x -limitsfont "times 18 bold italic"
+bltTest3 $graph axis x -limitsformat "%e"
+bltTest3 $graph axis x -linewidth 2
+bltTest3 $graph axis x -logscale yes
+#bltTest3 $graph axis x -loosemin
+#bltTest3 $graph axis x -loosemax
+#bltTest3 $graph axis x -majorticks
+#bltTest3 $graph axis x -max
+#bltTest3 $graph axis x -min
+#bltTest3 $graph axis x -minorticks
+##bltTest3 $graph axis x -relief groove
+bltTest3 $graph axis x -rotate 45
+#bltTest3 $graph axis x -scrollcommand
+#bltTest3 $graph axis x -scrollincrement
+#bltTest3 $graph axis x -scrollmax
+#bltTest3 $graph axis x -scrollmin
+##bltTest3 $graph axis x -shiftby 10
+bltTest3 $graph axis x -showticks no
+bltTest3 $graph axis x -stepsize 10
+bltTest3 $graph axis x -subdivisions 4
+##bltTest3 $graph axis x -tickanchor n
+bltTest3 $graph axis x -tickfont {times 12 bold italic}
+bltTest3 $graph axis x -ticklength 20
+bltTest3 $graph axis x -tickdefault 10
+bltTest3 $graph axis x -title {This is a Title}
+bltTest3 $graph axis x -titlealternate yes
+bltTest3 $graph axis x -titlecolor yellow
+bltTest3 $graph axis x -titlefont {times 24 bold italic}
+
+#bltCmd $graph axis activate foo
+#bltCmd $graph axis bind x
+bltCmd $graph axis cget x -color
+bltCmd $graph axis configure x
+bltCmd $graph axis configure x -color
+#bltCmd $graph axis create foo
+#bltCmd $graph axis deactivate foo
+#bltCmd $graph axis delete foo
+#bltCmd $graph axis focus x
+#bltCmd $graph axis get x
+#bltCmd $graph axis invtransform x
+#bltCmd $graph axis limits x
+#bltCmd $graph axis margin x
+#bltCmd $graph axis names x
+#bltCmd $graph axis transform x
+#bltCmd $graph axis type x
+#bltCmd $graph axis view x
echo "done"
bltPlotDestroy $w