I've never been entirely happy with the X-Y Trend feature of the TrendX object. You can make it work but it takes a lot of effort to make it do anything except time-based trending.
Even though you can define a non-Time variable for the X axis, the object still behaves like a Trend: it draws a line between X,Y coordinates that it samples on a timed interval.
To draw a "graph" or "chart" I have to open the object and then "feed" it data points one at a time every few hundred milliseconds until the graph is full. That makes it a big tradeoff between how fast I want the graph to appear and how many data points I can show.
My most common problem is when the display containing the object comes up and my values are back on the 0,0 point.... the line happily gets drawn to the beginning of the graph, then back to the middle of my data set... it's a mess. And there's no way to disable graphing effectively (I suppose I could stop the data model, then re-start it, but that is by no means a precise method) and no way to clear the display other than using a non-historical tag set and closing/re-opening the window.
Has anyone used an ActiveX object other than TrendX, from RA or another vendor, inside RSView32 or FactoryTalk View ?