Skip to content

Instantly share code, notes, and snippets.

@raine
Created December 23, 2011 10:09
Show Gist options
  • Select an option

  • Save raine/1513787 to your computer and use it in GitHub Desktop.

Select an option

Save raine/1513787 to your computer and use it in GitHub Desktop.
{
chart: {
animation: false,
renderTo: 'container',
defaultSeriesType: 'line',
marginRight: 0,
marginBottom: 30,
plotBackgroundColor: 'none',
backgroundColor: 'none',
plotShadow: false
},
title: {
text: null
},
legend: {
enabled: false
},
xAxis: {
minPadding: 0.03,
maxPadding: 0.03,
type: 'datetime',
gridLineColor: '#282828',
minorGridLineColor: '#444',
minorGridLineWidth: 0,
gridLineWidth: 1,
tickColor: '#444',
lineWidth: 0,
minorTickInterval: 3600 * 1000,
minorTickColor: '#444',
minorTickWidth: 1,
minorTickLength: 2,
labels: {
y: 25
}
},
yAxis: {
title: {
text: null
},
gridLineColor: '#282828',
gridLineWidth: 1,
lineWidth: 0,
tickWidth: 1,
tickColor: '#444',
tickPixelInterval: 20,
startOnTick: false,
endOnTick: false,
min: 0,
allowDecimals: false
},
tooltip: {
formatter: function() {
return new Date(this.x);
}
},
colors: [
'#44FF44', '#FF5500'
],
credits: {
enabled: false
},
plotOptions: {
line: {
marker: {
enabled: false
}
}
},
series: [ <%- JSON.stringify(locals.series) %> ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment