|
|
@ -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(); |
|
|
|