-
Notifications
You must be signed in to change notification settings - Fork 5
/
template.html
32 lines (29 loc) · 1.02 KB
/
template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html>
<head>
<title><!-- build:chartName --> chart : react-chartjs sample with Chart.js v2</title>
<style>
canvas {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
</style>
</head>
<body>
<h1><!-- build:chartName --> chart : react-chartjs sample with Chart.js v2</h1> Reproduce <a href="https://github.com/chartjs/Chart.js/blob/master/samples/<!-- build:referenceFile -->.html">Chart.js samlpe</a>.
<h2>Demo</h2>
<div id="container" style="width: 75%"></div>
<h2>Original Sample</h2>
<div>
<iframe src="../node_modules/chart.js/samples/<!-- build:referenceFile -->.html" style="width:100%; height:600px;"></iframe>
</div>
<h2>Source Code</h2>
<div class="">
<iframe src="index.jsx" style="width:100%; height:150em"></iframe>
</div>
<h2>Repository</h2>
<a href="https://github.com/ledsun/react-chartjs-example">GitHub</a>
<script src="bundle.js"></script>
</body>
</html>