-
Notifications
You must be signed in to change notification settings - Fork 0
/
minimal-chart.js
55 lines (55 loc) · 1.08 KB
/
minimal-chart.js
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
$('#container').highcharts({
chart: {
plotBackgroundColor: 'white', //not needed
type: 'line',
showAxes: false
},
title: {text: null},
exporting: false,
credits: {enabled: false},
xAxis: {
categories: [1,2],
lineColor: 'transparent',
labels: {
enabled: false
},
tickColor: '#fff'
},
yAxis: {
plotLines: [{
value: 0,
width: 1,
color: '#fff'
}],
title: {
enabled: false
},
labels: {
enabled:false
},
min: 0,
gridLineWidth: 0,
minorGridLineWidth: 0
},
series: [{
data: ['test1','test2']
}],
plotOptions: {
line: {
color: 'gray',
marker: {
symbol: 'circle',
enabled: false
}
},
series: {
animation: {
duration: 2500
}
}
},
tooltip: {
enabled: true
},
legend: {enabled: false}
});