Basic HTML5 Chart Example - CanvasJS
Basic HTML5 Chart Example
HTML
<script src="http://canvasjs.com/assets/script/canvasjs.min.js"></script>
<div id="chartContainer" style="height: 360px; width: 100%;"></div>
JavaScript
var chart = new CanvasJS.Chart("chartContainer", {
data: [{
name: "me",
type: "stackedColumn",
xValueType: "dateTime",
dataPoints: [{
x: 1384995600000,
y: 11.95
}]
}, {
name: "you",
type: "stackedColumn",
xValueType: "dateTime",
dataPoints: [{
x: 1384995600000,
y: 2.75
}]
}]
});
chart.render();