summaryrefslogtreecommitdiffstats
path: root/tests/legend.tcl
blob: 2959df079368e93bf75845c03786868ee808c6ec (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
source base.tcl

set w .line
set graph [bltLineGraph $w]

#bltTest2 $graph legend -activebackground
#bltTest2 $graph legend -activeborderwidth
#bltTest2 $graph legend -activeforeground
#bltTest2 $graph legend -activerelief
bltTest2 $graph legend -anchor s
bltTest2 $graph legend -bg pink
bltTest2 $graph legend -background cyan
bltTest2 $graph legend -borderwidth 20
bltTest2 $graph legend -bd 20
bltTest2 $graph legend -columns 2
#bltTest2 $graph legend -exportselection
#bltTest2 $graph legend -focusdashes
#bltTest2 $graph legend -focusforeground
bltTest2 $graph legend -font "times 18 bold italic"
bltTest2 $graph legend -fg yellow
bltTest2 $graph legend -foreground purple
bltTest2 $graph legend -hide yes
bltTest2 $graph legend -ipadx 20
bltTest2 $graph legend -ipady 20
#bltTest2 $graph legend -nofocusselectbackground
#bltTest2 $graph legend -nofocusselectforeground
bltTest2 $graph legend -padx 20
bltTest2 $graph legend -pady 20
bltTest2 $graph legend -position leftmargin
bltTest2 $graph legend -position topmargin
bltTest2 $graph legend -position bottommargin
bltTest2 $graph legend -position "@250,100"
bltTest2 $graph legend -raised yes
bltTest2 $graph legend -relief groove
bltTest2 $graph legend -rows 1
#bltTest2 $graph legend -selectbackground
#bltTest2 $graph legend -selectborderwidth
#bltTest2 $graph legend -selectcommand
#bltTest2 $graph legend -selectforeground
#bltTest2 $graph legend -selectmode
#bltTest2 $graph legend -selectrelief
#bltTest2 $graph legend -takefocus
bltTest2 $graph legend -title "Hello World"
##bltTest2 $graph legend -titleanchor center
##bltTest2 $graph legend -titlecolor red
bltTest2 $graph legend -titlefont "times 24 bold italic"

#bltCmd $graph legend activate
#bltCmd $graph legend bind
#bltCmd $graph legend cget
#bltCmd $graph legend configure
#bltCmd $graph legend curselection
#bltCmd $graph legend deactivate
bltCmd $graph legend focus data1
bltCmd $graph legend get data1
bltCmd $graph legend selection anchor data1
bltCmd $graph legend selection mark data1
bltCmd $graph legend selection includes data2
bltCmd $graph legend selection present
bltCmd $graph legend selection set data1 data2
bltCmd $graph legend selection clear data1 data2
bltCmd $graph legend selection set data1 data2
bltCmd $graph legend selection toggle data1 data2
bltCmd $graph legend selection set data1 data2
bltCmd $graph legend selection clearall

echo "done"
bltPlotDestroy $w