Highcharts Demo

author(s): Torstein Hønsi

by vasagi

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/boost.js"></script>

<div id="container"></div>

JavaScript

Highcharts.chart('container',{
    "chart": {
    pixelRatio: window.devicePixelRatio || 1,
        "type": "",
        "styledMode": false,
        "id": "unique_channel_name_15",
        "width": null,
        "height": 250,

        "zoomType": "x",
        "alignTicks": false
    },
    "boost": {
        "enable": true,
        "useGPUTranslations": false
    },
    "exporting": {
        "enabled": false,
        "fallbackToExportServer": false
    },
    "title": {
        "text": ""
    },
    "categories": [],
    "xAxis": {
        "gridLineWidth": 0,
        "gridLineDashStyle": "Solid",
        "gridLineColor": "#eeeeee",
        "className": "gridLineStyledMode",
        "type": "datetime",
        "crosshair": true,
        "minTickInterval": 60000,
        "minRange": 300000,
        "categories": false,
        "title": {
            "text": "",
           
        },
        min:Date.UTC(2024, 09, 04),
        "labels": {
            "style": "",
            "useHTML": false,
            "rotation": 0,
       
        },
        "scrollbar": {
            "liveRedraw": true,
            "barBorderRadius": 6,
            "height": 10,
         
        },
        "events": {},
        "tickPixelInterval": 150,
        "dateTimeLabelFormats": {
            "day": "%d/%m/%Y",
            "month": "%d/%m/%Y",
            "week": "%d/%m/%Y",
            "year": "%d/%m/%Y",
            "second": "%I:%M %p",
            "minute": "%I:%M %p",
            "hour": "%I:%M %p"
        }
    },
    "yAxis": [
        {
            "title": {
                "x": 0,
                "y": 0,
                "style": {
                    "color": "",
                    "cursor": "default"
                },
                "rotation": 270
            },
            "labels": {
                "style": {
                    "color": ""
                },
                "align": "center"
            },
            "type": "line",
            "className": "",
   ...