Answer the question
In order to leave comments, you need to log in
How to remove and add breaks in Highstock chart on click?
There is a chart on Highstock, you need the breaks property to be deleted when you click on the chart itself and reappear on the second click.
Here is the code.
yAxis: {
categories: datax,
lineColor: 'white',
lineWidth: 2,
title: false,
tickInterval: 1, // шаг по оси Y
breaks: [{
from: 1000000000000,
to: 2943000000000
}],
min: 0,
events: {
pointBreak: pointBreakColumn
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question