summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoye <joye>2014-05-21 18:33:52 (GMT)
committerjoye <joye>2014-05-21 18:33:52 (GMT)
commitcd469b4255c3b34ab0adf63169a1811d4971f53e (patch)
tree0a3bf68207cf45d9ae6417d3f809243a5a97bfbc
parent563c5a692a80087669d4ed6525904ca1382e04be (diff)
downloadblt-cd469b4255c3b34ab0adf63169a1811d4971f53e.zip
blt-cd469b4255c3b34ab0adf63169a1811d4971f53e.tar.gz
blt-cd469b4255c3b34ab0adf63169a1811d4971f53e.tar.bz2
*** empty log message ***
-rw-r--r--tests/all.tcl1
-rw-r--r--tests/axis.tcl26
2 files changed, 19 insertions, 8 deletions
diff --git a/tests/all.tcl b/tests/all.tcl
index 5863765..46e6a51 100644
--- a/tests/all.tcl
+++ b/tests/all.tcl
@@ -5,7 +5,6 @@ source barbar.tcl
source barelement.tcl
source barpen.tcl
source axis.tcl
-source xaxis.tcl
source legend.tcl
source crosshairs.tcl
source markers.tcl
diff --git a/tests/axis.tcl b/tests/axis.tcl
index ffddcb1..1e3b1de 100644
--- a/tests/axis.tcl
+++ b/tests/axis.tcl
@@ -3,21 +3,21 @@ source base.tcl
set w .line
set graph [bltLineGraph $w]
-$graph axis configure x -title "X Axis" -limitsformat "%g"
-#$graph axis configure y -bd 4
+$graph axis configure x -bd 2 -background cyan -title "X Axis" -limitsformat "%g"
+$graph axis configure y -bd 2 -background cyan
bltCmd $graph axis activate y
echo "Testing Axis..."
bltCmd $graph axis configure x
bltTest3 $graph axis y -activeforeground red
-##bltTest3 $graph axis y -activerelief groove
+bltTest3 $graph axis y -activerelief sunken
#bltTest3 $graph axis x -autorange 10
bltTest3 $graph axis x -background yellow
-bltTest3 $graph axis x -bg cyan
+bltTest3 $graph axis x -bg blue
#bltTest3 $graph axis x -bindtags
-##bltTest3 $graph axis x -bd 2
-##bltTest3 $graph axis x -borderwidth 4
+bltTest3 $graph axis y -bd 4
+bltTest3 $graph axis y -borderwidth 4
#bltTest3 $graph axis x -checklimits
bltTest3 $graph axis x -color red
#bltTest3 $graph axis x -command
@@ -47,7 +47,7 @@ bltTest3 $graph axis x -logscale yes
#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 -relief groove
bltTest3 $graph axis x -rotate 45
#bltTest3 $graph axis x -scrollcommand
#bltTest3 $graph axis x -scrollincrement
@@ -84,6 +84,18 @@ bltCmd $graph axis configure x -color
#bltCmd $graph axis type x
#bltCmd $graph axis view x
+#bltCmd $graph xaxis activate
+#bltCmd $graph xaxis bind
+bltCmd $graph xaxis cget -color
+bltCmd $graph xaxis configure
+bltCmd $graph xaxis configure -color
+#bltCmd $graph xaxis deactivate
+#bltCmd $graph xaxis invtransform
+#bltCmd $graph xaxis limits
+#bltCmd $graph xaxis transform
+#bltCmd $graph xaxis use
+#bltCmd $graph xaxis view
+
echo "done"
bltPlotDestroy $w