08-30-2007 01:15 PM
08-31-2007 10:01 AM
08-31-2007 10:27 AM
I had an application a couple of years ago which used a strip chart to plot 16 different items simultaneously. It was a little tricky especially when generating the (single) Y axis labels to be meaningful but the end result was pretty convincing. It can be done, if you are up for the challenge. ![]()
JR
08-31-2007 11:52 AM
09-03-2007 03:31 AM
I used a single large chart, with the Y axis scaled from 0 to 16. Each trace (plot) had an offset applied to it, ranging from 0.5, 1.5, ... to 15.5, thus allocating each of them a nominal area on the chart within which the trace could be drawn (suitable scaled). This approach allowed traces to overlap if needed, but as they were all in different colours this was actually quite effective. As the traces were allocated dynamically, I used the function ReplaceAxisItem() to update the axis labels with string names at the 16 chart division points. A bit of calculation of XY coordinates with details from GetRelativeMouseState() enabled identification of which trace the user was interested in and its value at any point.
Quite involved, really, to get all the functionality needed but it worked very well in the end.
JR