- Welcome, Guest. Please Login or Register
  We are soon releasing MindFusion.JavaScript pack. Initial version includes chart, diagram, calendar, map, virtual keyboard, gauge and UI components. Here are the beta version and live demo for anyone interested.  
Page Index Toggle Pages: 1 Send Topic Print  
RealTimeChart: Force refresh axes
Read 1803 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: 1714
Gender: male

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

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.

IP Logged    
Page Index Toggle Pages: 1 Send Topic Print