I have a plot that has the possibility of plotting many boolean values at once, so I've subclassed QwtSeriesData<QPointF> and added an offset if all the signals being plotted are booleans. However the y-axis won't show 0 for low now, and 1 for high (except on the single signal that doesn't get offset of course), but instead shows me <offset value> for low and <offset value + 1> for high.

So I wanted to know how I could draw a custom y-axis so I can just have 0's and 1's repeated all the way up at <offset value> intervals or if there was an easier way to change the Y-axis labels.

Thanks,
TEAmerc