> I use a chart to display up to four waveforms selected from the
> listbox. I can also select alarm limits to be displayed for each
> individual waveform. Currently, I display these alarm limits by
> creating waveforms with Y value equal to the alarm limit. This seems
> to be an awkward way of doing it (I hoped for some chart property
> which would allow me to draw these lines but no such luck). The issue
> gets complicated by the fact that the waveforms charted are
> added/removed programmatically and the chart window gets adjusted
> accordingly. Any solutions are appreciated.
Because you want the limits to be scaled to the same axis as the data,
I'd stick with alarm lines, or two plots filling one to the other. The
only downside of this is that i
t puts the limits in the legend. The
only bad thing about this is that the user might be able to change
colors or thickness of the limits, which is also not a bad thing if they
have trouble seeing the colors you selected.
Greg McKaskle