0

I encountered a problem when using Irregular time data chart in highcharts to draw a chart. problem as follows:

this is the series array:

series : [
{
 name:'test chart'
 data:[
            [Date.UTC(1970, 9, 21), 0],
            [Date.UTC(1970, 10, 4), 0.28],
            [Date.UTC(1970, 10, 9), 0.25] 
            ......
      ]
}
]

If the length of data array of a serie in series array is more than 1000,the chart won't be drawn ,and it shows blank ,but when the length of the data array is less than 1000,the chart shows normally.why? and how to fix it?is it a limitation of highchart for Irregular time data chart ?

stkflmb12
  • 165
  • 11

1 Answers1

2

Check turbo-threshold property if set ,Highcharts works well even for 1 million points. Share the fiddle with problem

Update : similar question answered already by Highchart Champ sebastian at Highcharts 3 cannot render more than 1000 points in one series

use : http://api.highcharts.com/highcharts#plotOptions.series.turboThreshold

in your series

 series: [
               {
                type: 'scatter',
                name: 'some name',                                     
                data: something,
                turboThreshold: 7000,}
  ]
Community
  • 1
  • 1
Nishith Kant Chaturvedi
  • 4,719
  • 2
  • 16
  • 24
  • is turboThreshold setted in series?isn't it in plotOptions:series:turboThreshold? – stkflmb12 Sep 07 '15 at 13:45
  • The example link I shared with you, shown that you can keep it in plotOtions... however the code I written in above answer is from my highcharts graph where I used that in series and its works fine :) – Nishith Kant Chaturvedi Sep 07 '15 at 13:49
  • turboThreshold is applicable at both the places plotOption and in series as well ..Please refer documentation of highcharts to clarify it. happy coding :) – Nishith Kant Chaturvedi Sep 07 '15 at 13:51