AnimatedPropertySetting question

2 posts, 0 answers
  1. Joe
    Joe avatar
    1 posts
    Member since:
    Jun 2017

    Posted 06 Jun Link to this post

    I cannot seem to get the AnimatedPropertySetting to work with a radRadialGauge. We have this code to update the gauge from serial data approx every 5 seconds (via delegate):

    public void DisplayTempChart(float temperature)  

     {             

    //radialGaugeNeedle1.Value = temperature;   <----- when this is uncommented, the needle responds correctly         

    AnimatedPropertySetting setting = new AnimatedPropertySetting(                 <----- this property setting never works, the needle is never updated

        RadRadialGaugeElement.ValueProperty,                 

         this.radRadialGauge1.Value,                  

         temperature,                 

         12,                 
         40);              

    setting.ApplyEasingType = RadEasingType.OutBounce;              

    setting.ApplyValue(radRadialGauge1.GaugeElement);         

    }

     

    Any help is appreciated!

  2. Dimitar
    Admin
    Dimitar avatar
    1871 posts

    Posted 07 Jun Link to this post

    Hello Joe,

    This is working fine on my side. I have attached a small video that shows how I am testing it. What are the results on your side?

    I am looking forward to your reply.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top