dlemus
Posts: 1
Joined: Tue Nov 13, 2018 6:16 pm

Performance issue using chart with x values date and TIME

Dear Highcharts support team,

I have been evaluating your charts. We need to buy a solution that works fine for us. Trying the free trial of Stock Charts I have been able to do some tests with the default highstock chart.

Everything looked fine until I started to plot bigger amounts of data.

Right now I have a serious problem that compromises our business and we need an answer in order to proceed with the purchase.

I am plotting a chart with ‘y’ axis being numeric values and ‘x’ axis being date time values.
I was able to process a JSON object of 3000 items. However, because of our business rules, we also need to display the time: hours + minutes in the chart’s tooltips.

This changed everything!

Now the chart takes about 15 seconds to plot 2000 records. This is unacceptable.

I can see clearly that when I remove the time part of my Date object the charts works perfectly. It is just when added the hours and minutes that performance gets affected.

Trying different things I realized that your charts should support the amount of data I am using since it is not massive.

We love the charts but performance is key for us to continue using your products.
Can you help me with this issue?

Please check this fiddle so you can understand my problem. Feel free to remove the hours and minutes variables from the DateUtc creation: https://jsfiddle.net/17a3jry9/7/


Thanks in advance!
bastss
Site Admin
Posts: 1192
Joined: Wed Oct 17, 2018 10:59 am

Re: Performance issue using chart with x values date and TIM

Hi dIemus,

You have an answer at StackOverflow. https://stackoverflow.com/questions/532 ... e-and-time

Best regards :)
Sebastian Wędzel,
Highcharts Developer

Return to “Highcharts Stock”