Folder reorganize 1
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
var chart = new CanvasJS.Chart("chartContainer", {
|
||||
title: {
|
||||
text: "Stacked Column Chart"
|
||||
},
|
||||
axisX: {
|
||||
interval: 10
|
||||
},
|
||||
data: [{
|
||||
type: "stackedColumn",
|
||||
dataPoints: [
|
||||
{ x: 10, y: 750 },
|
||||
{ x: 20, y: 714 },
|
||||
{ x: 30, y: 320 },
|
||||
{ x: 40, y: 560 },
|
||||
{ x: 50, y: 430 },
|
||||
{ x: 60, y: 500 },
|
||||
{ x: 70, y: 480 },
|
||||
{ x: 80, y: 280 },
|
||||
{ x: 90, y: 410 },
|
||||
{ x: 100, y: 500 }
|
||||
]
|
||||
}, {
|
||||
type: "stackedColumn",
|
||||
dataPoints: [
|
||||
{ x: 10, y: 250 },
|
||||
{ x: 20, y: 414 },
|
||||
{ x: 30, y: 919 },
|
||||
{ x: 40, y: 967 },
|
||||
{ x: 50, y: 678 },
|
||||
{ x: 60, y: 878 },
|
||||
{ x: 70, y: 787 },
|
||||
{ x: 80, y: 780 },
|
||||
{ x: 90, y: 803 },
|
||||
{ x: 100, y: 330 }
|
||||
]
|
||||
}, {
|
||||
type: "stackedColumn",
|
||||
dataPoints: [
|
||||
{ x: 10, y: 400 },
|
||||
{ x: 20, y: 917 },
|
||||
{ x: 30, y: 520 },
|
||||
{ x: 40, y: 804 },
|
||||
{ x: 50, y: 450 },
|
||||
{ x: 60, y: 969 },
|
||||
{ x: 70, y: 380 },
|
||||
{ x: 80, y: 839 },
|
||||
{ x: 90, y: 610 },
|
||||
{ x: 100, y: 850 }
|
||||
]
|
||||
}]
|
||||
});
|
||||
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,59 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
var chart = new CanvasJS.Chart("chartContainer", {
|
||||
title: {
|
||||
text: "Coal Reserves of Countries"
|
||||
},
|
||||
axisY: {
|
||||
title: "Coal (bn tonnes)",
|
||||
valueFormatString: "#0.#,.",
|
||||
},
|
||||
data: [{
|
||||
type: "stackedColumn",
|
||||
legendText: "Anthracite & Bituminous",
|
||||
showInLegend: "true",
|
||||
dataPoints: [
|
||||
{ y: 111338, label: "USA" },
|
||||
{ y: 49088, label: "Russia" },
|
||||
{ y: 62200, label: "China" },
|
||||
{ y: 90085, label: "India" },
|
||||
{ y: 38600, label: "Australia" },
|
||||
{ y: 25400, label: "Germany" },
|
||||
{ y: 33873, label: "Ukraine" },
|
||||
{ y: 6746, label: "Colombia" },
|
||||
{ y: 6582, label: "Canada" }
|
||||
]
|
||||
}, {
|
||||
type: "stackedColumn",
|
||||
legendText: "SubBituminous & Lignite",
|
||||
showInLegend: "true",
|
||||
indexLabel: "#total bn",
|
||||
yValueFormatString: "#0.#,.",
|
||||
indexLabelPlacement: "outside",
|
||||
dataPoints: [
|
||||
{ y: 135305, label: "USA" },
|
||||
{ y: 107922, label: "Russia" },
|
||||
{ y: 52300, label: "China" },
|
||||
{ y: 3360, label: "India" },
|
||||
{ y: 39900, label: "Australia" },
|
||||
{ y: 3680, label: "Germany" },
|
||||
{ y: 3200, label: "Ukraine" },
|
||||
{ y: 0, label: "Colombia" },
|
||||
{ y: 6582, label: "Canada" }
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
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