Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » bug dataprovider of xygraph
bug dataprovider of xygraph [message #1420937] Wed, 10 September 2014 18:00
Esteban Avila is currently offline Esteban AvilaFriend
Messages: 35
Registered: June 2012
Member
Hi to all.

I'm plotting a Trace into a XYGraph. I implemented a update method of the provider.

The problem is that i need run twice times the update method because in the first run the trace is Overplotting.

Here code my trace is Overplotting.
public void UpdateGraph(double[] datax, double[] datay)
{  dataProvider[0].clearTrace();
   dataProvider[0].setCurrentXDataArray(datax);
   dataProvider[0].setCurrentYDataArray(datay);	
}


Here works fine
public void UpdateGraph(double[] datax, double[] datay)
{  dataProvider[0].clearTrace();
   for (int i = 0; i < 2; i++) 
   { 
     dataProvider[0].setCurrentXDataArray(datax);
     dataProvider[0].setCurrentYDataArray(datay);	
   }
}


Thanks.
Previous Topic:Grid row height with image in last column
Next Topic:Grid: Open event only on the first column
Goto Forum:
  


Current Time: Sun Nov 18 01:24:31 GMT 2018

Powered by FUDForum. Page generated in 0.01847 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top