RadHorizontalGauge library

6 posts, 0 answers
  1. Reptilianus
    Reptilianus avatar
    9 posts
    Member since:
    Apr 2018

    Posted 21 Jun 2018 Link to this post

    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.
  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3462 posts

    Posted 21 Jun 2018 Link to this post

    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.
  3. Reptilianus
    Reptilianus avatar
    9 posts
    Member since:
    Apr 2018

    Posted 27 Jun 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    Thank you!

  4. Reptilianus
    Reptilianus avatar
    9 posts
    Member since:
    Apr 2018

    Posted 27 Jun 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    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?
  5. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3462 posts

    Posted 28 Jun 2018 Link to this post

    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.
  6. Reptilianus
    Reptilianus avatar
    9 posts
    Member since:
    Apr 2018

    Posted 28 Jun 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    I understand,thank you!
Back to Top