Is there anything special that you did to have graphs using Chartjs to appear under the php custom page? I can't seem to get it to work no matter what work around I'm trying. This is pretty much what I have in trying to get the chart to show:
<script src="Chart.min.js"></script>
<canvas id="ponum" width="600" height="400"></canvas>
var barChartData = {
labels : <?php echo $js_labels?>,
datasets : [
{
fillColor : "rgba(220,220,220,0.5)",
strokeColor : "rgba(220,220,220,1)",
data : <?php echo print_r($js_cols,true)?>
}
]
}
var ponum = document.getElementById('ponum').getContext("2d");
new Chart(ponum).Bar(barChartData);