I am using GWT Highcharts 1.5.0 with my GWT project. I have successfully been able to show spline graphs with null data. In other words, there are the expected gaps in the graph if no data is available for a particular time.
Now I have been asked to change this functionality if possible. Instead of a void, I have been asked to "fill-in" the line with a different color or different line-style to signify a gap.
I know when I have a null value, so I tried to change the color of the line right before the null point is plotted, but this did not work. Is this functionality even possible?
Thanks in advance
Phil
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't believe there's any official way within the Highcharts API to support this (other than you can create a second series that has a different color, which would appear to fill in the gaps in the first series). If you're willing to go lower level though, Highcharts does allow you to override the line drawing functions, which you could get at via JSNI.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using GWT Highcharts 1.5.0 with my GWT project. I have successfully been able to show spline graphs with null data. In other words, there are the expected gaps in the graph if no data is available for a particular time.
Now I have been asked to change this functionality if possible. Instead of a void, I have been asked to "fill-in" the line with a different color or different line-style to signify a gap.
I know when I have a null value, so I tried to change the color of the line right before the null point is plotted, but this did not work. Is this functionality even possible?
Thanks in advance
Phil
I don't believe there's any official way within the Highcharts API to support this (other than you can create a second series that has a different color, which would appear to fill in the gaps in the first series). If you're willing to go lower level though, Highcharts does allow you to override the line drawing functions, which you could get at via JSNI.