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

Oval gauge

2 Answers 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Roberto
Top achievements
Rank 1
Roberto asked on 25 Feb 2017, 12:32 AM

Hi.

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

2 Answers, 1 is accepted

Sort by
0
Roberto
Top achievements
Rank 1
answered on 25 Feb 2017, 02:59 AM
What i want to do is yo change the shape yo make ovaladed.
0
Hristo
Telerik team
answered on 27 Feb 2017, 03:07 PM
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.
Tags
General Discussions
Asked by
Roberto
Top achievements
Rank 1
Answers by
Roberto
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or