Highcharts Demo
author(s): Torstein Hønsi
by lizozomi
HTML
<script src="https://code.highcharts.com/stock/highstock.js"></script>
<div id="container" style="height: 400px"></div>
JavaScript
Highcharts.chart('container', {
navigator: { enabled: true },
"rangeSelector": {
"enabled": true
},
"title": {
"text": ""
},
"chart": {
"type": "line",
"width": 500,
"height": 300,
},
"xAxis": {
"tickLength": 0,
"type": "datetime",
"startOnTick": false,
"endOnTick": false,
"min": 1698912000000,
"max": 1698969600000,
"labels": {
"format": "{value:%H:%M}"
}
},
"yAxis": [
{
"opposite": true,
"title": {
"align": "left",
"text": ""
},
"labels": {
"align": "left",
"x": 5,
"y": 3
},
"showFirstLabel": true,
"showLastLabel": true,
"plotLines": [
{
"value": 346.07,
"className": "plot-line-yesterday-close"
}
]
}
],
"series": [
{
"id": "main_symbol",
"className": "series-main-symbol",
"name": "MSFT",
"yAxis": 0,
"data": [
[
1698912000000,
346.94
],
[
1698912060000,
347.77
],
[
1698912120000,
347.77
],
[
1698912180000,
347.77
],
[
1698912240000,
347.77
],
[
1698912300000,
347.77
],
[
1698912360000,
347.77
],
[
1698912420000,
...