javascript - highcharts gapsize in milliseconds -


to plot set of values on time line i'm using highstock (highchart same).

with highstock, it's possible set attribute gapsize mark a 'gap' (a blank hole of missing data) if more x intervals missing.

the 'interval' calculated automatically smallest interval in serie.

if dataset doesn't contain equally spaced intervals result unpredictable , shown in example, can full of gaps:

https://jsfiddle.net/ptysyo4p/5/

series : [{             data : data,             type: 'areaspline',             fillopacity: .35,             gapsize: 5,       <-- responsible 

it ideal set size of interval manually or directly setting gapsize time interval instead number of intervals. possible?

update:

by looking in code think closestpointrange(https://github.com/highslide-software/highcharts.com/search?p=1&q=closestpointrange&utf8=%e2%9c%93). ideas if can set @ without breaking anything?


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -