source: code/Website/data-files/tooltip-clash-scatter.txt@ 7849

Last change on this file since 7849 was 7849, checked in by dennisw, 15 years ago
File size: 1.5 KB
Line 
1/*
2
3many points from a single set in the same location
4many points from different sets in the same location
5
6*/
7
8{
9
10 "elements":[
11 {
12 "type": "scatter_line",
13 "dot-size": 10,
14 "tip": "Scatter 1<br>#x#, #y#",
15 "colour": "#000000",
16 "values" : [
17 {"x":-4, "y":-5, "tip":"HELLO 1" },
18 {"x":-4, "y":-2, "colour":"#FF0000" },
19 {"x":-4, "y":1, "dot-size":4},
20 {"x":3, "y":3, "dot-size":5},
21 {"x":3, "y":3, "colour":"#FF00FF", "dot-size":3},
22 {"x":3.5, "y":3.5, "dot-size":6},
23 {"x":4.9, "y":4.9, "dot-size":7}
24 ]
25 },
26 {
27 "type": "scatter",
28 "dot-size": 10,
29 "tip": "Scatter 2<br>#x#, #y#",
30 "colour": "#000000",
31 "values" : [
32 {"x":-4, "y":-5, "tip":"HELLO 2" },
33 {"x":-4, "y":-2 },
34 {"x":-4, "y":-2, "dot-size":3 },
35 {"x":3, "y":3, "colour":"#FF00FF"}
36 ]
37 }
38
39 ],
40
41 "x_axis":{
42 "offset": false,
43 "min": -5,
44 "max": 5/*,
45 "labels":["mon","tue","wed","thur","fri","sat","sun"]*/
46 },
47
48 "y_axis":{
49 "min": -5,
50 "max": 5
51 },
52
53 "y_legend":{
54 "text": "Time of day",
55 "style": "{font-size: 20px; color: #736AFF;}"
56 }
57}
58
59
60
Note: See TracBrowser for help on using the repository browser.