Skip to content

Instantly share code, notes, and snippets.

@clouddueling
Created August 17, 2013 18:21
Show Gist options
  • Select an option

  • Save clouddueling/6258105 to your computer and use it in GitHub Desktop.

Select an option

Save clouddueling/6258105 to your computer and use it in GitHub Desktop.
Highcharts json for angular js
$scope.main.graphs = {
totalSystemsCompleted: {
title: {
text: 'Total Completed Systems By User'
},
tooltip: {
pointFormat: '{series.name}: <b>{point.y:,.0f}</b>'
},
yAxis: {
min: 0,
title: {
text: null,
}
},
plotOptions: {
spline: {
lineWidth: 3,
states: {
hover: {
lineWidth: 3
}
},
marker: {
enabled: false
},
animation: false,
},
},
series: [],
},
averageSystemCompletionComparison: {
title: {
text: 'Average Calls Per Day'
},
xAxis: {
categories: ['You', 'Everyone Else'],
title: {
text: null
}
},
yAxis: {
min: 0,
title: {
text: null,
},
},
tooltip: {
valueSuffix: ' calls',
pointFormat: '{series.name}: <b>{point.y:,.2f}</b>'
},
plotOptions: {
column: {
animation: false,
}
},
legend: {
enabled: false,
},
series: [{
name: 'Average Calls',
data: [],
}],
},
postponedSystemScore: {
title: {
text: 'Systems Completed On Time Vs Late'
},
tooltip: {
pointFormat: '{series.name}: <b>{point.y:,.0f}</b>'
},
yAxis: {
title: {
text: null,
},
plotLines: [{
color: '#bbbbbb',
width: 3,
value: 0
}]
},
plotOptions: {
spline: {
lineWidth: 3,
states: {
hover: {
lineWidth: 3
}
},
marker: {
enabled: false
},
animation: false,
},
},
series: [],
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment