Highcharts Ghost Markers

by maritavindedal

HTML

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

<div>
  <button id="less">
   Less
  </button>
  <button id="more">
   More
  </button>
</div>
<div id="container"></div>

CSS

#container {
    min-width: 380;
    max-width: 1200px;
    margin: 0 auto;
}

JavaScript

const less = [
    [
        1728423000000,
        49125
    ],
    [
        1728424800000,
        106222
    ],
    [
        1728426600000,
        58046
    ],
    [
        1728428400000,
        65973
    ],
    [
        1728430200000,
        53971
    ],
    [
        1728432000000,
        82570
    ],
    [
        1728433800000,
        65401
    ],
    [
        1728435600000,
        64339
    ],
    [
        1728437400000,
        61493
    ],
    [
        1728439200000,
        69241
    ],
    [
        1728441000000,
        56436
    ],
    [
        1728442800000,
        67098
    ],
    [
        1728444600000,
        60490
    ],
    [
        1728446400000,
        63286
    ],
    [
        1728448200000,
        54874
    ],
    [
        1728450000000,
        62450
    ],
    [
        1728451800000,
        53883
    ],
    [
        1728453600000,
        63463
    ],
    [
        1728455400000,
        49937
    ],
    [
        1728457200000,
        60398
    ],
    [
        1728459000000,
        52297
    ],
    [
        1728460800000,
        78908
    ],
    [
        1728462600000,
        61253
    ],
    [
        1728464400000,
        71414
    ],
    [
        1728466200000,
        69958
    ],
    [
        1728468000000,
        67859
    ],
    [
        1728469800000,
        60121
    ],
    [
        1728471600000,
        76793
    ],
    [
        1728473400000,
        58766
    ],
    [
        1728475200000,
        66678
    ],
    [
        1728477000000,
        59463
    ],
    [
        1728478800000,
        134871
    ],
    [
        1728480600000,
        60955
    ],
    [
        1728482400000,
        83275
    ],
    [
        1728484200000,
        81476
    ],
    [
        1728486000000,
        133028
    ],
    [
        1728487800000,
        119843
    ],
    [
        1728489600000,
        148484
    ],
    [
        1728491400000,
        81595
    ],
    [
       ...