-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathxyz.html
61 lines (60 loc) · 1.86 KB
/
xyz.html
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
AmCharts.makeChart("marks_distribution_div", {
"type": "serial",
"theme": "none",
"pathToImages": "http://www.amcharts.com/lib/3/images/",
"dataProvider":[{
"date": 1,
"value": 5
}, {
"date": 2,
"value": 15
}, {
"date": 3,
"value": 13
}, {
"date": 4,
"value": 17
}, {
"date": 7,
"value": 15
}, {
"date": 9,
"value": 19
} ],
"valueAxes": [{
"integersOnly": true,
"axisAlpha": 0,
"dashLength": 4,
"position": "left"
}],
"graphs": [{
"bulletSize": 14,
"customBullet": "http://www.amcharts.com/lib/3/images/star.png",
"customBulletField": "customBullet",
"valueField": "value"
}],
"marginTop": 20,
"marginRight": 20,
"marginLeft": 40,
"marginBottom": 20,
"chartCursor": {graphBulletSize:1.5},
"autoMargins": false,
// "dataDateFormat": "YYYY-MM-DD",
"categoryField": "date",
"categoryAxis": {
// "parseDates": true,
"axisAlpha": 0,
"gridAlpha": 0,
"inside": true,
"tickLength": 0,
"equalSpacing" :false
},
"exportConfig": {
"menuTop": "20px",
"menuRight": "20px",
"menuItems": [{
"icon": 'http://www.amcharts.com/lib/3/images/export.png',
"format": 'png'
}]
}
});