Browse Source

simpler example

pull/36/head
glitch4347 11 months ago
parent
commit
79b759569f
  1. 3
      examples/mouse.html

3
examples/mouse.html

@ -7,7 +7,6 @@
</head> </head>
<body> <body>
<div id="chart" style="width: 50%; height: 500px;"></div> <div id="chart" style="width: 50%; height: 500px;"></div>
<script type="text/javascript"> <script type="text/javascript">
const startTime = 1590590148; const startTime = 1590590148;
const data = Array.from( const data = Array.from(
@ -21,7 +20,7 @@
} }
var pod = new LinePod( var pod = new LinePod(
document.getElementById('chart'), document.getElementById('chart'),
[{ target: 'BASIC', datapoints: data, color: 'black' }], [{ datapoints: data }],
options options
); );
pod.render(); pod.render();

Loading…
Cancel
Save