F
F
feniksdv2021-04-13 14:01:04
Highcharts
feniksdv, 2021-04-13 14:01:04

How to continue horizontal lines using the highcharts library?

Hello. How to use this lib to continue the horizontal lines so that they slightly extend from the end and edge of the chart, as shown in this figure.
6075769cb83f9162807392.png
here is my code:

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
ZB Venom, 2021-04-13
@feniksdv

you can play with the values

xAxis: {
                min: 0.75,
                max: 6.25,
                tickPixelInterval: 50,
                categories: [
                    '',
                    'Январь',
                    'Февраль',
                    'Март',
                    'Апрель',
                    'Май',
                    'Июнь',
                    'Июль',
                    ''
                ],

series: [{
                ...
-                data: [300.22, 402.26, 385.89, 556.56, 412.38, 190.15, 220.22],
+               data: [200, 300.22, 402.26, 385.89, 556.56, 412.38, 190.15, 220.22, 300],
                ...
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question