summaryrefslogtreecommitdiffstats
path: root/tests/axis.tcl
blob: ffddcb1865a23c1298131f89af7549f0d9197121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
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
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 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