summaryrefslogtreecommitdiffstats
path: root/tests/linegraph.tcl
blob: 8f4a5fed744558ddf800bf011c2876ef70855552 (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
source base.tcl

set w .line
set bltgr [bltLineGraph $w]

puts stderr "Testing Line Graph..."

bltTest $bltgr -aspect 2 $dops
bltTest $bltgr -background red $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 $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 output foo.ps
#bltCmd $bltgr transform
##bltCmd $bltgr x2axis
##bltCmd $bltgr xaxis
##bltCmd $bltgr y2axis
##bltCmd $bltgr yaxis

puts stderr "done"
bltPlotDestroy $w