[go: up one dir, main page]

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: 50
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: Fri Dec 13 14:46:39 GMT 2024

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

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

Back to the top