This is a migrated thread and some comments may be shown as answers.

AnimatedPropertySetting question

1 Answer 73 Views
Gauges (RadialGauge, LinearGauge, BulletGraph)
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 06 Jun 2017, 04:34 PM

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!

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 07 Jun 2017, 11:55 AM
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.
Tags
Gauges (RadialGauge, LinearGauge, BulletGraph)
Asked by
Joe
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or