javascript - Highcharts: How to divide line graph when there's a gap in the x axis -


so want do: graph

there's gap in x axis between week 27 , week 32 can't see if don't closely. cut line graph in 2 indicate there data missing.

i've seen examples 1 graph2 (https://stackoverflow.com/a/15123478/1652348)

but prefer not add empty weeks x axis (in order save space).

any ideas/suggestions?

thanks!

you can add null values weeks don't have own values. adding null values break spline series want.

here can find code can making chart:

{       data: [65, 76, 70.3, 79.3, null, 53.5, 77.7], } 

and here can see example how can work: http://jsfiddle.net/555lcrbb/2/


Comments