Created
May 18, 2019 11:19
-
-
Save AlphaNerd/732e4671a508d7cd1604f6ca08a01473 to your computer and use it in GitHub Desktop.
HighCharts basic defaults for Parakeeto data feed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.defaultLargeChartOptions = { | |
chart: { | |
backgroundColor:'#f2f2f2' | |
}, | |
credits: { | |
enabled: false | |
}, | |
title : { | |
text : '' | |
}, | |
series: [{ | |
data: [1,6,5,7,3,7,9,3,2,8,3,7], | |
type: 'spline', | |
name: 'Data' | |
},{ | |
data: [1,3,2,4,5,3,6,4,7,5,2,6], | |
type: 'spline', | |
name: 'Data' | |
}], | |
yAxis: { | |
title: { | |
text: null | |
}, | |
gridLineDashStyle: "longdash", | |
gridLineColor: "#ddd" | |
}, | |
xAxis: { | |
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] | |
}, | |
legend: { | |
enabled: false | |
} | |
}; | |
this.defaultSmallChartOptions = { | |
backgroundColor:'#fff', | |
credits: { | |
enabled: false | |
}, | |
title : { | |
text : '' | |
}, | |
series: [{ | |
data: [-29.9, 71.5, 106.4, 70], | |
type: 'spline', | |
name: 'Data' | |
}], | |
yAxis: { | |
title: { | |
text: null | |
}, | |
labels: { | |
enabled: false | |
}, | |
minTickInterval: 3 | |
}, | |
xAxis: { | |
categories: ['Jan', 'Apr', 'Jul', 'Oct'], | |
title: { | |
text: null | |
}, | |
visible: false | |
}, | |
legend: { | |
enabled: false | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment