source: code/Website/data-files/scatter-anchors.txt

Last change on this file was 7849, checked in by dennisw, 15 years ago
File size: 2.6 KB
Line 
1{
2
3 "title":{
4 "text":"Sample Scatter Anchors",
5 "style":"{font-size: 24px; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }"
6 },
7 "num_decimals":3,
8
9 "elements":[
10 {
11 "type": "scatter",
12 "colour": "#30BfBc",
13 "dot-style": { "type":"anchor", "sides":3, "alpha":1, "hollow":true, "background-colour":"#a44a80",
14 "background-alpha": 0.4, "width":1, "tip":"type = anchor\nsides = 3\nhollow" },
15 "animate": 0,
16 "dot-size": 12,
17 "width": 3,
18 "halo-size": 2,
19 "text": "Sample Scatter Anchors",
20 "tip": "[#x#,#y#] #size#\nSample Anchors",
21 "values" : [
22 {"x": 1, "y": 8, "type":"point", "tip":"type = point" },
23 {"x": 2, "y": 8, "type":"solid-dot", "tip":"type = dot" },
24 {"x": 3, "y": 8, "type":"bow", "hollow":false, "rotation":-45, "tip":"type = bow" },
25 {"x": 4, "y": 8, "type":"bow", "hollow":true, "background-colour":"#b0101c",
26 "rotation":45, "tip":"type = bow\nhollow" },
27 {"x": 5, "y": 8, "type":"bow", "hollow":true, "background-colour":"#b0101c",
28 "rotation":90, "tip":"type = bow\nhollow" },
29 {"x": 6, "y": 8, "type":"star", "hollow":true, "rotation":0, "tip":"type = star\nhollow" },
30 {"x": 7, "y": 8, "type":"star", "hollow":true, "rotation":90, "tip":"type = star\nhollow", "dot-size":12 },
31 {"x": 8, "y": 8, "type":"star", "hollow":false, "rotation":180, "tip":"type = star", "dot-size":12 },
32 {"x": 9, "y": 8, "type":"dot", "tip":"type = solid dot", "dot-size":12 },
33 {"x": 1, "y": 4 }, // triangle from dot-style definition above
34 {"x": 2, "y": 4, "type":"anchor", "sides":4, "tip":"type = anchor<br>sides = 4\nhollow" },
35 {"x": 3, "y": 4, "type":"anchor", "sides":5, "tip":"type = anchor\nsides = 5\nhollow" },
36 {"x": 4, "y": 4, "type":"anchor", "sides":6, "tip":"type = anchor\nsides = 6\nhollow" },
37 {"x": 5, "y": 4, "type":"anchor", "sides":7, "tip":"type = anchor\nsides = 7\nhollow" },
38 {"x": 6, "y": 4, "type":"anchor", "sides":8, "tip":"type = anchor\nsides = 8\nhollow" },
39 {"x": 7, "y": 4, "type":"anchor", "sides":9, "tip":"type = anchor\nsides = 9\nhollow", "hollow":true, "background-colour":"#ffffff" },
40 {"x": 8, "y": 4, "type":"anchor", "sides":10, "tip":"type = anchor\nsides = 10\nhollow" }
41 ]
42 }
43 ],
44
45 "x_axis": {
46 "min": 0,
47 "max": 10,
48 "offset": 0,
49 "steps" : 1,
50 "3d" : 0,
51 "labels": { "rotate" : 0, "size": 10 }
52 },
53
54 "y_axis": {
55 "min": 0,
56 "max": 10,
57 "stroke": 2,
58 "steps" : 1,
59 "offset": 0
60 }
61}
Note: See TracBrowser for help on using the repository browser.