<?php

if (!defined('PARENT') || !isset($gDisplay[0])) { exit; }

/* CHARTIST
------------------------------------------*/

?>
<script src="content/js/plugins/chartist.js"></script>
<script>
//<![CDATA[
new Chartist.Line('.ct-chart', {
  labels : <?php echo $msw_graph; ?>,
  series : [
    [<?php echo $gDisplay[0]; ?>],
    [<?php echo $gDisplay[1]; ?>]
  ]
}, {
  fullWidth : true,
  chartPadding: {
    right : 40
  },
  height : '280px',
  axisY : {
    onlyInteger : true
  }
});
//]]>
</script>