First Initial
This commit is contained in:
38
wwwroot/BackendScript/assets/chart-master/samples/pie.html
Normal file
38
wwwroot/BackendScript/assets/chart-master/samples/pie.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Radar Chart</title>
|
||||
<script src="../Chart.js"></script>
|
||||
<meta name = "viewport" content = "initial-scale = 1, user-scalable = no">
|
||||
<style>
|
||||
canvas{
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<canvas id="canvas" height="450" width="450"></canvas>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
var pieData = [
|
||||
{
|
||||
value: 30,
|
||||
color:"#F38630"
|
||||
},
|
||||
{
|
||||
value : 50,
|
||||
color : "#E0E4CC"
|
||||
},
|
||||
{
|
||||
value : 100,
|
||||
color : "#69D2E7"
|
||||
}
|
||||
|
||||
];
|
||||
|
||||
var myPie = new Chart(document.getElementById("canvas").getContext("2d")).Pie(pieData);
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user