Skip to content

Instantly share code, notes, and snippets.

@tonybolzan
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonybolzan/2e819ce2782377547dd4 to your computer and use it in GitHub Desktop.
Save tonybolzan/2e819ce2782377547dd4 to your computer and use it in GitHub Desktop.
TFGII - Resultados
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<script>
$(function() {
$('#container').highcharts({
chart: {
type: 'spline'
},
exporting: {
scale: 1,
sourceWidth: 1600,
sourceHeight: 600
},
credits: {
enabled: false
},
title: {
text: 'BOLZAN.IO'
},
xAxis: {
title: {
text: 'Iterações (minutos)'
},
labels: {
formatter: function() {
return this.value + 1;
}
},
plotLines: [{
color: '#DD0000',
width: 2,
value: 9
}, {
color: '#DD0000',
width: 2,
value: 29
}]
},
yAxis: {
title: {
text: 'Tempo (ms)'
}
},
tooltip: {
headerFormat: '',
crosshairs: true,
shared: true,
valueDecimals: 0,
valueSuffix: ' ms'
},
series: [{
name: 'ICMP',
data: [170.713, 157.219, 156.468, 155.362, 154.589, 156.174, 161.236, 155.142, 159.481, 0, 160.296, 156.637, 154.164, 160.029, 156.066, 157.181, 157.826, 168.799, 187.665, 180.964, 164.783, 169.842, 170.078, 172.101, 165.452, 171.538, 162.453, 158.608, 154.909, 0, 164.346, 158.808, 154.532, 157.079, 155.543, 161.812, 156.186, 155.279, 158.599, 160.584, 158.102, 157.302, 157.408, 157.897, 155.305, 182.024, 158.869, 158.064]
}, {
name: 'TCP',
data: [154.6174279937986, 156.5409140021075, 154.7691640007542, 169.717117008986, 163.0088610108942, 159.0225159889087, 157.034948002547, 157.228893993306, 160.9506990062073, 0, 153.5627090052003, 157.9672320076497, 158.4916879946832, 156.8195449945051, 153.6609159957152, 159.5605699985754, 156.6388190112775, 165.333509008633, 190.698111007805, 188.7478569988161, 158.7817739928141, 155.3039279970108, 156.9855480047408, 153.874793992145, 157.558186998358, 156.071970006451, 155.1542739907745, 156.1628650088096, 154.9472049955511, 0, 155.8726450020913, 157.4222399940481, 155.3781270049512, 156.1028480064124, 155.7495839952026, 155.170033001923, 156.939530003001, 156.6921030025696, 155.0932809914229, 154.3058029928943, 159.3421349971322, 158.6624170013238, 155.6470270006685, 157.7069360064343, 157.0348799868952, 155.3112080000574, 156.0440409957664, 156.5551649982808]
}, {
name: 'DNS',
data: [30.97224235534668, 78.58133316040039, 231.7492961883545, 78.86004447937012, 33.55193138122559, 28.8844108581543, 29.86764907836914, 28.27072143554688, 28.36513519287109, 0, 30.77983856201172, 29.85835075378418, 30.83634376525879, 34.24406051635742, 26.85356140136719, 33.74934196472168, 28.89800071716309, 82.19075202941895, 28.1531810760498, 27.47678756713867, 35.65812110900879, 29.24418449401855, 87.61882781982422, 27.6334285736084, 78.52721214294434, 27.90927886962891, 28.50866317749023, 40.73476791381836, 29.12998199462891, 0, 79.2391300201416, 28.63240242004395, 28.05376052856445, 28.26118469238281, 29.04915809631348, 80.33061027526855, 28.66506576538086, 28.35512161254883, 27.94122695922852, 31.62980079650879, 27.59456634521484, 28.10120582580566, 27.8012752532959, 29.08492088317871, 27.08864212036133, 30.29489517211914, 83.56451988220215, 28.49411964416504]
}, {
name: 'HTTP',
data: [1648, 1390, 1388, 1445, 1414, 1358, 1351, 1403, 1417, 0, 1649, 1502, 1305, 1341, 1393, 1406, 1427, 1744, 1451, 1638, 1349, 1399, 1486, 1388, 1452, 1533, 1481, 1462, 1434, 0, 1635, 1451, 1407, 1506, 1484, 1407, 1406, 1368, 1312, 1344, 1573, 1406, 1374, 1372, 1349, 1369, 1897, 1456]
}]
});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment