Oval gauge

3 posts, 0 answers
  1. Roberto
    Roberto avatar
    2 posts
    Member since:
    Dec 2016

    Posted 24 Feb 2017 Link to this post

    Hi.

    Is it possible to change the circle gauge yo make it ovaladed?

  2. Roberto
    Roberto avatar
    2 posts
    Member since:
    Dec 2016

    Posted 24 Feb 2017 in reply to Roberto Link to this post

    What i want to do is yo change the shape yo make ovaladed.
  3. Hristo
    Admin
    Hristo avatar
    1521 posts

    Posted 27 Feb 2017 Link to this post

    Hello Roberto,

    Thank you for writing.

    You can set the ScaleTransform property on the GaugeElement object. Please see my code snippet below: 
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
     
            this.radRadialGauge1.GaugeElement.ScaleTransform = new SizeF(1.33f, 1);
        }
    }

    Please also see the screenshot showing the result on my end.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top