Folder reorganize 1
This commit is contained in:
@@ -0,0 +1,107 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
var chart = new CanvasJS.Chart("chartContainer",
|
||||
{
|
||||
title: {
|
||||
text: "Number of Persons involved in Traffic Accidents by Mode of Transport"
|
||||
},
|
||||
data: [
|
||||
{
|
||||
type: "stackedArea100",
|
||||
dataPoints: [
|
||||
{ x: new Date(2012, 00, 1), y: 1100 },
|
||||
{ x: new Date(2012, 01, 1), y: 1200 },
|
||||
{ x: new Date(2012, 02, 1), y: 1000 },
|
||||
{ x: new Date(2012, 03, 1), y: 1200 },
|
||||
{ x: new Date(2012, 04, 1), y: 1600 },
|
||||
{ x: new Date(2012, 05, 1), y: 1800 },
|
||||
{ x: new Date(2012, 06, 1), y: 1400 },
|
||||
{ x: new Date(2012, 07, 1), y: 1500 },
|
||||
{ x: new Date(2012, 08, 1), y: 1600 },
|
||||
{ x: new Date(2012, 09, 1), y: 1800 }
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
type: "stackedArea100",
|
||||
dataPoints: [
|
||||
{ x: new Date(2012, 00, 1), y: 150 },
|
||||
{ x: new Date(2012, 01, 1), y: 171 },
|
||||
{ x: new Date(2012, 02, 1), y: 155 },
|
||||
{ x: new Date(2012, 03, 1), y: 150 },
|
||||
{ x: new Date(2012, 04, 1), y: 165 },
|
||||
{ x: new Date(2012, 05, 1), y: 195 },
|
||||
{ x: new Date(2012, 06, 1), y: 155 },
|
||||
{ x: new Date(2012, 07, 1), y: 145 },
|
||||
{ x: new Date(2012, 08, 1), y: 140 },
|
||||
{ x: new Date(2012, 09, 1), y: 151 }
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
type: "stackedArea100",
|
||||
dataPoints: [
|
||||
{ x: new Date(2012, 00, 1), y: 71 },
|
||||
{ x: new Date(2012, 01, 1), y: 41 },
|
||||
{ x: new Date(2012, 02, 1), y: 55 },
|
||||
{ x: new Date(2012, 03, 1), y: 50 },
|
||||
{ x: new Date(2012, 04, 1), y: 65 },
|
||||
{ x: new Date(2012, 05, 1), y: 95 },
|
||||
{ x: new Date(2012, 06, 1), y: 45 },
|
||||
{ x: new Date(2012, 07, 1), y: 95 },
|
||||
{ x: new Date(2012, 08, 1), y: 60 },
|
||||
{ x: new Date(2012, 09, 1), y: 40 }
|
||||
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
type: "stackedArea100",
|
||||
dataPoints: [
|
||||
{ x: new Date(2012, 00, 1), y: 861 },
|
||||
{ x: new Date(2012, 01, 1), y: 761 },
|
||||
{ x: new Date(2012, 02, 1), y: 775 },
|
||||
{ x: new Date(2012, 03, 1), y: 680 },
|
||||
{ x: new Date(2012, 04, 1), y: 785 },
|
||||
{ x: new Date(2012, 05, 1), y: 374 },
|
||||
{ x: new Date(2012, 06, 1), y: 365 },
|
||||
{ x: new Date(2012, 07, 1), y: 455 },
|
||||
{ x: new Date(2012, 08, 1), y: 657 },
|
||||
{ x: new Date(2012, 09, 1), y: 659 }
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
type: "stackedArea100",
|
||||
dataPoints: [
|
||||
{ x: new Date(2012, 00, 1), y: 220 },
|
||||
{ x: new Date(2012, 01, 1), y: 240 },
|
||||
{ x: new Date(2012, 02, 1), y: 295 },
|
||||
{ x: new Date(2012, 03, 1), y: 300 },
|
||||
{ x: new Date(2012, 04, 1), y: 265 },
|
||||
{ x: new Date(2012, 05, 1), y: 235 },
|
||||
{ x: new Date(2012, 06, 1), y: 245 },
|
||||
{ x: new Date(2012, 07, 1), y: 255 },
|
||||
{ x: new Date(2012, 08, 1), y: 275 },
|
||||
{ x: new Date(2012, 09, 1), y: 290 }
|
||||
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
});
|
||||
|
||||
chart.render();
|
||||
}
|
||||
</script>
|
||||
<script src="../../canvasjs.min.js"></script>
|
||||
<title>CanvasJS Example</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="chartContainer" style="height: 400px; width: 100%;">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,82 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
var chart = new CanvasJS.Chart("chartContainer",
|
||||
{
|
||||
title: {
|
||||
text: "Products Sold by ABC ltd. in 2011"
|
||||
},
|
||||
animationEnabled: true,
|
||||
axisY: {
|
||||
title: "Sales"
|
||||
},
|
||||
axisX: {
|
||||
title: "Seasons"
|
||||
},
|
||||
toolTip: {
|
||||
shared: true
|
||||
},
|
||||
data: [
|
||||
{
|
||||
type: "stackedArea100",
|
||||
name: "Mosquito Repellents",
|
||||
showInLegend: "true",
|
||||
dataPoints: [
|
||||
{ y: 83450, label: "spring" },
|
||||
{ y: 51240, label: "summer" },
|
||||
{ y: 64120, label: "fall" },
|
||||
{ y: 71450, label: "winter" }
|
||||
|
||||
]
|
||||
}, {
|
||||
type: "stackedArea100",
|
||||
name: "Liquid Soap",
|
||||
showInLegend: "true",
|
||||
dataPoints: [
|
||||
{ y: 20140, label: "spring" },
|
||||
{ y: 30170, label: "summer" },
|
||||
{ y: 24410, label: "autumn" },
|
||||
{ y: 38120, label: "fall" }
|
||||
|
||||
]
|
||||
}, {
|
||||
type: "stackedArea100",
|
||||
name: "Napkins",
|
||||
showInLegend: "true",
|
||||
dataPoints: [
|
||||
{ y: 45120, label: "spring" },
|
||||
{ y: 50350, label: "summer" },
|
||||
{ y: 48410, label: "autumn" },
|
||||
{ y: 53120, label: "fall" }
|
||||
|
||||
]
|
||||
}, {
|
||||
type: "stackedArea100",
|
||||
name: "Sanitizer",
|
||||
showInLegend: "true",
|
||||
dataPoints: [
|
||||
{ y: 11050, label: "spring" },
|
||||
{ y: 16100, label: "summer" },
|
||||
{ y: 15010, label: "autumn" },
|
||||
{ y: 23100, label: "fall" }
|
||||
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
});
|
||||
|
||||
chart.render();
|
||||
}
|
||||
</script>
|
||||
<script src="../../canvasjs.min.js"></script>
|
||||
<title>CanvasJS Example</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="chartContainer" style="height: 400px; width: 100%;">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user