11-10-2009 01:43 AM
Dear all,
I'm trying to create a scopechart or stripchart on the X-Axis, but when I add data to the plot it keeps running out of the graph. When I apply this AxisMode to the Y-Axis it works OK, but on the X-Axis I can't get it to work. Do I miss a setting? I've configured the following:
ChannelGraph.Plots[0].DefaultStart = 0;
ChannelGraph.Plots[0].DefaultIncrement = 1000.0 / 1225.0;
ChannelGraph.Plots[0].HistoryCapacity = 5000;
ChannelGraph.Plots[0].XAxis.Range = new NationalInstruments.UI.Range(0, 500);
ChannelGraph.Plots[0].YAxis.Mode = AxisMode.AutoScaleVisibleLoose;
ChannelGraph.Plots[0].XAxis.Mode = AxisMode.ScopeChart;
After this configuration I add data multiple times using: ChannelGraph.Plots[0].PlotYAppend(RawData.ToArray());
Kind Regards,
Andre
11-10-2009 05:18 AM
When I enable scaling, the scopechart works OK:
ChannelGraph.Plots[0].CanScaleXAxis = true;
Kind regards
11-30-2009 08:44 AM
Hi technoleut,
Could you please post a example, so I could reproduce this? Then i will have a look.
Regards,
Bas