This is a migrated thread and some comments may be shown as answers.
RadHorizontalGauge library
5 Answers 12 Views
This is a migrated thread and some comments may be shown as answers.
Reptilianus
Top achievements
Rank 1
Reptilianus asked on 21 Jun 2018, 10:15 AM
Hi,I try to making a graph in windows forms using RadHorizontalGauge with telerik, what library I should used? In plus,for example,RadRadialGauge is worked and Visual Studio not say what library should I used.

5 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 21 Jun 2018, 12:41 PM
Hello, Reptilianus,   

I would like to note that the Telerik UI for WinForms suite doesn't offer a RadHorizontalGauge. RadLinearGauge is maybe what you are looking for. Here is the relevant online documentation: https://docs.telerik.com/devtools/winforms/gauges/lineargauge/lineargauge

If you have any further inquiries feel free to submit a support ticket. Thus, our support staff will gladly assist you.

I hope this information helps.

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Reptilianus
Top achievements
Rank 1
answered on 27 Jun 2018, 07:30 AM

Thank you!

0
Reptilianus
Top achievements
Rank 1
answered on 27 Jun 2018, 08:18 AM
But how can change range of a label, if I have a RadLinearGauge with RangeStart=0 and EndRange=85 and Count=2,but I don't want to my label to be segmented like:0,42.5,85 . I want particular range of labels,but how?
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 28 Jun 2018, 06:49 AM
Hello, Reptilianus,   

LinearGaugeLabels expose two useful for your case properties:
- LabelStartVisibleRange: Indicates at which value the labels start. The LinearGauge control has a start and end value. The LabelStartVisibleRange value must be set within this range and the first label will be shown at this value.
- LabelEndVisibleRange: Indicates at which value the labels end. The LinearGauge control has a start and end value. The LabelEndVisibleRange value must be set within this range and the last label will be shown at this value.
- LabelsCount: Controls the number of displayed labels.
Additional information is available in the online documentation: https://docs.telerik.com/devtools/winforms/gauges/lineargauge/elements/working-with-labels

You can't specify exact label's values. But you can control, the labels count and range. Considering the start/end range of the labels and the labels count, the actual displayed values are calculated. Here is demonstrated a sample code snippet how to manipulate the values: 

this.radLinearGauge1.RangeStart = 0;
this.radLinearGauge1.RangeEnd = 85;
 
this.linearGaugeLabels1.LabelStartVisibleRange = 0;
this.linearGaugeLabels1.LabelEndVisibleRange = 85;
this.linearGaugeLabels1.LabelsCount = 2;
 
this.linearGaugeTicks1.TickStartIndexVisibleRange = 0;
this.linearGaugeTicks1.TickEndIndexVisibleRange = 3;
this.linearGaugeTicks1.TicksCount = 2;
 
this.linearGaugeLine1.RangeStart = 0;

I hope this information helps. If you have any additional questions, please let me know. 

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Reptilianus
Top achievements
Rank 1
answered on 28 Jun 2018, 08:10 AM
I understand,thank you!
Asked by
Reptilianus
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Reptilianus
Top achievements
Rank 1
Share this question
or