Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

PlotXYAppend does not function properly

I am using a ScatterPlot object to plot data in a ScatterGraph for a custom application.  When the graph first loads, I load historical data and pass it to the ScatterPlot object using the PlotXY(double[], double[]) method.  Then I add the ScatterPlot to the ScatterGraph.Plots collection.  All of this functionality works fine.

 

However, as new data becomes available, I add it to the ScatterPlot using the PlotXYAppend(double, double) method.  The new data point is plotted fine.  Unfortunately, the line that connects the old data to the new point is incorrect.  It connects the first point in the series to the new point.  Is this a known issue, or am I doing something wrong?


Thanks.

0 Kudos
Message 1 of 2
(3,318 Views)

This does not seem to be a known issue. Can you post some code which produces this behavior or perhaps you can create and attach a simple application demonstrating this behavior?

  

Thanks,
Mohammed Haseeb|Measurement Studio|National Instruments
0 Kudos
Message 2 of 2
(3,294 Views)