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

Is it possible to change label text

3 Answers 237 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
michael
Top achievements
Rank 1
michael asked on 16 Jun 2014, 07:15 AM
I want each step can have customized label value and have one axis to show two different unit of values like in attachement
Currently i put the two axis together to make it looks like one to display in different unit, is there anyother way? and I am not able to show customized label. is it possible and how? I am new to this control 

​            <telerik:VerticalLinearScale  FlowDirection="RightToLeft" telerik:StyleManager.Theme="">
            </telerik:VerticalLinearScale>
            <telerik:VerticalLinearScale  FlowDirection="LeftToRight" telerik:StyleManager.Theme="">
            </telerik:VerticalLinearScale>

3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 16 Jun 2014, 01:49 PM
Hello Michael,

It is correct way to use two scales for showing labels for each one in different units. I would recommend taking a look at the following documentation articles and online examples:

http://www.telerik.com/help/wpf/radgauge-features-labels-basics.html
http://www.telerik.com/help/wpf/linear-scale-labels.html
http://www.telerik.com/help/wpf/linear-gauge-create-thermometer.html

http://demos.telerik.com/silverlight/#Gauge/Customization/CustomLabels
http://demos.telerik.com/silverlight/#Gauge/Customization/LinearTickMarks
http://demos.telerik.com/silverlight/#Gauge/Gallery/Thermometer

Please do not hesitate to ask if you require any further assistance.

Regards,
Andrey Murzov
Telerik

 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
michael
Top achievements
Rank 1
answered on 16 Jun 2014, 02:55 PM
Hi Andrey,

Thanks for your reply and valuable links, however the example provided are shown the same width of step always have the same increase numbers which not fit all my request.
what i want is, let's say, in the 50 minutes, the total is 50, however the minute 10, output weight can be 10 or any number, the minute 20, output weight can be 18 or any number... which means the same width of step will be bound to a dynamic number as shown in my last attachment.
seems your standard example, the same width of step always represent the same increament of number, can that be changed to bind any number of my own? how?

Michael 
0
Andrey
Telerik team
answered on 18 Jun 2014, 11:42 AM
Hello Michael,

Unfortunately, it is not possible to have arbitrary value distribution along the scale.

Regards,
Andrey Murzov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
Gauges
Asked by
michael
Top achievements
Rank 1
Answers by
Andrey
Telerik team
michael
Top achievements
Rank 1
Share this question
or