summaryrefslogtreecommitdiffstats
path: root/tests/crosshairs.tcl
diff options
context:
space:
mode:
authorjoye <joye>2014-02-19 20:13:35 (GMT)
committerjoye <joye>2014-02-19 20:13:35 (GMT)
commit515702b8eeee7c2b8d7342e893ca8bcfb59537fc (patch)
tree693510be9cbd81c038a78068380809f66550c157 /tests/crosshairs.tcl
parentf17196b154ec4d4315ce6e746408e4bb618a629b (diff)
downloadblt-515702b8eeee7c2b8d7342e893ca8bcfb59537fc.zip
blt-515702b8eeee7c2b8d7342e893ca8bcfb59537fc.tar.gz
blt-515702b8eeee7c2b8d7342e893ca8bcfb59537fc.tar.bz2
*** empty log message ***
Diffstat (limited to 'tests/crosshairs.tcl')
-rw-r--r--tests/crosshairs.tcl25
1 files changed, 14 insertions, 11 deletions
diff --git a/tests/crosshairs.tcl b/tests/crosshairs.tcl
index 0406eb8..0a8ad2f 100644
--- a/tests/crosshairs.tcl
+++ b/tests/crosshairs.tcl
@@ -1,19 +1,22 @@
source base.tcl
-set w .ch
+set w .line
set graph [bltLineGraph $w]
-#bltTest2 $graph crosshairs -color green
-#bltTest2 $graph crosshairs -dashes "dotdot"
-#bltTest2 $graph crosshairs -dashes "5 8 3"
-#bltTest2 $graph crosshairs -hide yes
-#bltTest2 $graph crosshairs -linewidth 3
-#bltTest2 $graph crosshairs -position "@1,50"
+$graph crosshairs configure -hide no
+$graph crosshairs configure -position "@200,200"
-#$graph crosshairs on
-#$graph crosshairs off
-#$graph crosshairs toggle
+bltTest2 $graph crosshairs -color green
+bltTest2 $graph crosshairs -dashes "dashdot"
+bltTest2 $graph crosshairs -dashes "5 8 3"
+bltTest2 $graph crosshairs -hide yes
+bltTest2 $graph crosshairs -linewidth 3
+bltTest2 $graph crosshairs -position "@100,100"
+
+bltCmd $graph crosshairs on
+bltCmd $graph crosshairs off
+bltCmd $graph crosshairs toggle
echo "done"
-#bltPlotDestroy $w
+bltPlotDestroy $w