Hello,

I could not find anything related in Qwt docs so I'm posting here. I'm using Qwt6 SVN and I need to draw a curve (actually, a straight horizontal line), but it must not be continuous. I'm attaching a screenshot to show what I mean. The green line runs under the red one, and the red one consists of multiple pieces.
I thought about creating multiple curves for the red one, but I need exactly one legend item for it. Preferably, the settings (color, thickness, etc...) applied to the curve should affect all its pieces.

Any idea how I may accomplish that?

Thanks a lot in advance!

plot_marked.png