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

Set Ranges From Code Behind

1 Answer 70 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Shrikant
Top achievements
Rank 1
Shrikant asked on 02 Aug 2013, 10:53 AM
Hi Team,

  How can I create Ranges for any value from code behind?

  I have Max Sales Total and Sales Person Sales Total. I have to create Ranges depending on the Total  Max Sales (Which always comes different as per date range). So for example, Total Max Sales is 56k, then I would like to show 60k as the last Range and Ranges will be
From="20000" To="30000"
From="30000" To="40000"
From="40000" To="50000"
From="50000" To="60000"

 If you have any other logic, Please suggest me.

Thanks

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 06 Aug 2013, 11:25 AM
Hello Shrikant,

I would advise that you examine the following article on creating a gauge and/or its ranges programmatically: http://www.telerik.com/help/aspnet-ajax/gauge-application-scenarios-programmatic-creation.html. Once you have the min/max values and the pointer value you should be able to implement your own logic for creating the ranges.


Regards,
Marin Bratanov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Gauge
Asked by
Shrikant
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or