source: code/Website/data-files/on-show-scatter-explode.txt

Last change on this file was 7849, checked in by dennisw, 15 years ago
File size: 1.5 KB
RevLine 
[7849]1{
2
3 "elements":[
4 {
5 "type": "scatter",
6 "colour": "#FFB900",
7 "text": "Avg",
8 "font-size": 10,
9 "dot-style": {"type":"solid-dot"},
10 "on-show": {"type": "explode", "cascade":0.6, "delay":1},
11 "values" : [
12 {"x":-5, "y":-5 },
13 {"x":0, "y":0 },
14 {"x":5, "y":5, "dot-size":20},
15 {"x":5, "y":-5, "dot-size":5},
16 {"x":-5, "y":5, "dot-size":5},
17 {"x":0.5, "y":1, "dot-size":15, "tip": "moooo"}
18 ]
19 },
20 {
21 "type": "scatter",
22 "colour": "#B900FF",
23 "text": "No 2",
24 "font-size": 10,
25 "dot-style": {"type":"hollow-dot", "width":1, "size":2},
26 "on-show": {"type": "explode", "cascade":0.6, "delay":0.5},
27 "values" : [
28 {"x":-5, "y":-3},
29 {"x":0, "y":0.5}
30 ]
31 },
32 {
33 "type": "line",
34 "colour": "#B9FF00",
35 "text": "Line",
36 "font-size": 10,
37 "values" : [3,3,3,3,3]
38 }
39
40 ],
41
42 "x_axis":{
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/*
61&bg_colour=#DFFFDF&
62&x_label_style=12,#9933CC&
63&y_label_style=12,#9933CC&
64&tool_tip=x:#x_label#<br>y:#val#&
65*/
66
Note: See TracBrowser for help on using the repository browser.