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

What is the quickest way to bind data such as performance counters?

1 Answer 42 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
G S S
Top achievements
Rank 1
G S S asked on 17 Oct 2010, 11:03 PM
Hi,

What would be the easiest way to bind the values of a performance counter (e.g. memory used) to a RADGauge? Ideally with no XAML editing.

Thanks

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 20 Oct 2010, 03:35 PM
Hello Gurdeep,

You can simply assign value to the gauge indicator from your code. For example:

<telerik:RadGauge Name="radGauge">
    <telerik:RadialGauge>
        <telerik:RadialScale>
            <telerik:IndicatorList>
                <telerik:Needle Name="needle" />
            </telerik:IndicatorList>
        </telerik:RadialScale>
    </telerik:RadialGauge>
</telerik:RadGauge>

this.needle.Value = 25;


Regards,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Gauge
Asked by
G S S
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or