Hello.
I am developing a stock chart with 12 hours of data.
What I want to do is set the interval of the initial data in a minute.
There is data that falls from 100 to 0 at short intervals, so if you don't zoom in and check it, you can't check the data in the chart when you look up every 5 minutes.
Currently, the interval for initial data is set in 5 minutes.
However, if you zoom in, the interval is reduced little by little from five minutes.
I don't know if I need to fix this xAxis or Series.
I attach my code.
xAxis: {
crosshair: {
width: 1,
color: '#1c7ed6',
dashStyle: 'shortdot',
},
type: 'datetime',
dateTimeLabelFormats: {
second: '%H:%M',
minute: '%m-%d %H:%M',
hour: '%m-%d %H:%M',
day: '%y-%m-%d',
week: '%Y-%m-%d',
month: '%Y-%m',
year: '%Y',
}
},
series : [{
data: ...
pointStart: ....
pointIntreval: 60000
} ...forEach]
Please help me.