Iteration Numbers from Reece

Graph for Iteration Debrief for Reece

by ashleeeidson

HTML

<script src="http://www.amcharts.com/lib/3/amcharts.js" type="text/javascript"></script>
<script src="http://www.amcharts.com/lib/3/serial.js" type="text/javascript"></script>
<div id="chartdiv" style="width: 100%; height: 500px;"></div>

JavaScript

var chart;
var chartData = [{
    iteration: 1,
    before: 38580,
    afterCache: 3866
}, {
    iteration: 2,
    before: 31803,
    afterCache: 3810
}, {
    iteration: 3,
    before: 31513,
    afterCache: 3846
}, {
    iteration: 4,
    before: 32150,
    afterCache: 3786
}, {
    iteration: 5,
    before: 31903,
    afterCache: 4393
}, {
    iteration: 6,
    before: 32243,
    afterCache: 4150
}, {
    iteration: 7,
    before: 32210,
    afterCache: 3916
}, {
    iteration: 8,
    before: 31973,
    afterCache: 3803
}, {
    iteration: 9,
    before: 32536,
    afterCache: 3993
}, {
    iteration: 10,
    before: 31803,
    afterCache: 3870
}, {
    iteration: 11,
    before: 33150,
    afterCache: 4143
}, {
    iteration: 12,
    before: 33330,
    afterCache: 3756
}, {
    iteration: 13,
    before: 32403,
    afterCache: 3703
}, {
    iteration: 14,
    before: 32096,
    afterCache: 3750
}, {
    iteration: 15,
    before: 36363,
    afterCache: 4020
}, {
    iteration: 16,
    before: 33203,
    afterCache: 4100
}, {
    iteration: 17,
    before: 33286,
    afterCache: 4626
}, {
    iteration: 18,
    before: 33553,
    afterCache: 3823
}, {
    iteration: 19,
    before: 33176,
    afterCache: 3930
}, {
    iteration: 20,
    before: 32836,
    afterCache: 3630
}, {
    iteration: 21,
    before: 31880,
    afterCache: 5096
}, {
    iteration: 22,
    before: 32783,
    afterCache: 4940
}, {
    iteration: 23,
    before: 32170,
    afterCache: 4346
}, {
    iteration: 24,
    before: 32373,
    afterCache: 5296
}, {
    iteration: 25,
    before: 33540,
    afterCache: 5353
}]

//chartData.push({
//    date: newDate,
//    visits: visits,
//    hits: hits,
//    views: views
//});

AmCharts.ready(function () {
    // generate some random data first
    //generateChartData();

    // SERIAL CHART    
    chart = new AmCharts.AmSerialChart();
    chart.pathToImages = "http://www.amcharts.com/lib/3/images/";
    chart.dataProvider = chartData;
   ...