Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>RealTime Chrats</title>
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/epoch-charting@0.8.4/dist/css/epoch.min.css" integrity="sha256-7Gigjgci9s9U+mXDEimBIp0+p2VICCmW4A3BLG2rbOg=" crossorigin="anonymous">
- </head>
- <body>
- <script>
- var areaChartData = [
- // The first layer
- {
- label: "Layer 1",
- values: [ {time: 1370044800, y: 100}, {time: 1370044801, y: 1000}]
- },
- // The second layer
- {
- label: "Layer 2",
- values: [ {time: 1370044800, y: 78}, {time: 1370044801, y: 98}]
- }
- ];
- </script>
- <div id="areaChart" style="width: 800px; height: 200px"></div>
- <script src="http://localhost/tandon_air/assets/jquery.min.js"></script>
- <script>
- $('#areaChart').epoch({
- type: 'time.area',
- data: areaChartData
- });/**/
- </script>
- <script src="https://d3js.org/d3.v5.min.js"></script>
- <script src="https://cdn.jsdelivr.net/npm/epoch-charting@0.8.4/dist/js/epoch.min.js" integrity="sha256-uKluQW6PgYqUnbaF80MDXVMg5/U2Jkl+mIX2qliGmJc=" crossorigin="anonymous"></script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment