I was trying to label my line graph using provided formatFunction.
formatFunction : function(value, index, columnIndex) {
console.log(index);
}
When I try this function with only thousands of data, it prints all the indexes just fine.
However, when I try with more than ten thousand data, it starts to skip few indexes randomly.
But I have figure out that if I have same y-values for two consecutive indexes, it’s skipping the second one.
Our x-axis interval is not constant.
I have examined this problem with two different series in a single chart.
Let’s call a series with various y-axis values graph ‘A’, and one with equal y-axis values graph ‘B’ where two graphs have same x-axis values.
So graph ‘A’ will have zigzag pattern while graph ‘B’ will be a horizontal line.
I tried running the app couple times.
Both graph ‘A’ and ‘B’ skip few indexes, and it seems to me that they are skipping the same indexes every time.
However, the values they are skipping aren’t the same.
ex. graph A always skip index 1, 3, 5
and graph B always skip index 1, 3, 4
Hope you get what I meant.
Thank you.