For some data that I'm plotting, it is often just zero, with the occasional bump. When plotted as a line (or spline), this means that you just get a flat line most of the time. For some chart setups, particularly minimalist styles, it would be nice only to display the non-zero parts, so you only see the humps and not the flat line.
I'm aware that you can set a point to null, and it will then just not display. But that doesn't have the effect I want... the humps of the chart will then just hover above the zero line, by varying amounts, with an ugly gap. And for a spline, you need even the zero points to be taken into account, in order to get the right shape of line as the plot approaches zero... it is no good just dropping the zero points completely.
I've also played with "zones" (y axis), and e.g. using an invisible line color below 0.01. But it's very difficult to choose that threshold to suit all settings, in terms of data range, and even line width... a fat line seems to be part visible even if a thin line is all hidden. And when using an area spline, you get a gap running all the way under the filled part too, when really you want a complete fill, and just an invisible line when the line hits zero.
Maybe it would be possible to use "zones" but in the x direction? And you add the zones based on the data, to hide the line in horizontal bands coinciding with the zero parts?
Is there an easier way? Thanks.