Created
January 9, 2014 20:18
-
-
Save WagnerMoreira/8341200 to your computer and use it in GitHub Desktop.
Chart de pontos finais x iniciais da sprint
This file contains 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
$(function () { | |
$('#container').highcharts({ | |
chart: { | |
type: 'column', | |
width: 900, | |
}, | |
title: { | |
text: 'Pontos Finais X Iniciais' | |
}, | |
subtitle: { | |
text: 'Por sprint' | |
}, | |
xAxis: { | |
categories: [ | |
'1/15', | |
'2/15', | |
'3/15', | |
'4/15', | |
'5/15', | |
'6/15', | |
'7/15', | |
'8/15', | |
'9/15', | |
'10/15' | |
] | |
}, | |
yAxis: { | |
min: 0, | |
title: { | |
text: 'Pontos' | |
} | |
}, | |
tooltip: { | |
headerFormat: '<span style="font-size:10px">{point.key}</span><table>', | |
pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' + | |
'<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>', | |
footerFormat: '</table>', | |
shared: true, | |
useHTML: true | |
}, | |
plotOptions: { | |
column: { | |
pointPadding: 0.2, | |
borderWidth: 0 | |
} | |
}, | |
series: [{ | |
name: 'Iniciais', | |
pointWidth: 50, | |
//hash com os pontos contando todos os cards que são pontuados na reunião | |
data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1] | |
}, { | |
name: 'Finais', | |
pointWidth: 50, | |
//hash com os pontos finais da sprint incluindo os cards adicionais que sempre entram durante a sprint | |
data: [83.6, 78.8, 98.5, 93.4, 106.0, 84.5, 105.0, 104.3, 91.2, 83.5] | |
}] | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment