12345678910111213141516171819202122232425 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <link rel="stylesheet" href="dist/style.css">
- <style>
- #line-heatmap-canvas { width:60%; height:60%; position:absolute; }
- #line-heatmap-view { width:60%; height:60%; position:absolute; }
- #line-heatmap-tooltip { position:absolute; left:0; top:0; background:rgba(0,0,0,.8); color:white; font-size:14px; padding:5px; line-height:18px; display:none;}
- </style>
- <title>Test</title>
- </head>
- <body>
- <div>
- <div id="hea">
- </div>
- </div>
- <script src="dist/line_heatmap.js"></script>
- <script>
- line_heatmap.Container.init('hea',"100,200,1,0\n100,200,1,0\n100,200,1,0\n100,200,1,0\n250,350,1,0\n250,350,1,0\n250,350,1,0\n250,350,1,0\n250,350,1,0", true, {radius:100});
- </script>
- </body>
- </html>
|