- Welcome, Guest. Please Login or Register
MindFusion  
  Version 2 of our Xamarin Calendar component adds Resource view and support for Universal Windows Platform. Now beta testing UWP version of Xamarin Diagram.  
  HomeHelpSearchLoginRegister   
     
     
   
 
Page Index Toggle Pages: 1 Send Topic Print  
RealTimeChart: Force refresh axes
Read 44 times

Mattekr   Offline
YaBB Newbies
*
Posts: 1
I Love MindFusion!


   
     
 
RealTimeChart: Force refresh axes
Sep 27th, 2017 at 6:19pm
 
Hi everyone, there is a way to force the refresh of the axes of a RealTimeChart.

My SW allows the user to choose the values to be represented on the axes, but updating this is not immediate, sometimes passing several times.

Thanks in advance
 
 
 
IP Logged    
 
     

Slavcho   Offline
God Member
*****
Posts: 1195
Gender: male
tech.support


   
     
 
Re: RealTimeChart: Force refresh axes
Reply #1 - Sep 28th, 2017 at 1:22pm
 
Hi,

If changing X axis values try calling the Commit method. Y axes should repaint automatically when Axis properties get changed. I can see slight difference in how PropertyChanged is handled for Axis.Background - if other properties don't repaint immediately, try also resetting Background. Alternatively try replacing the Axis object in Y or Y2 collection with a new one.

Regards,
Slavcho
 
 
 
IP Logged    
 
     
Page Index Toggle Pages: 1 Send Topic Print