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

RadialGauge Blank useless space

1 Answer 105 Views
Gauges (RadialGauge, LinearGauge, BulletGraph)
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 22 Jul 2015, 02:24 PM

Hello everybody,

 I'm using a radradialgauge. My pattern is a half circle. Under this half circle, i've got a blank useless space.

 I try to use the CenterOffset and the scale transform to get it at the right dimension, but when the user change the size of the container, the rendering is ugly.

 Is there a way to trim the clank space all around my gauge to dock it in a parent container ?

 I hope my explication is understandable.

 Best regards,

Tony

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 27 Jul 2015, 08:06 AM
Hi Tony,

Thank you for writing.

In this case, you can use the CenterOffsetY property to make the control fill the area. In addition the control has a default padding of 10 pixels which can be adjusted:
radRadialGauge1.CenterOffsetY = 0.25;
radRadialGauge1.GaugeElement.Padding = new Padding(0, -10, 0, -10);

I hope this information helps.

Regards,
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Gauges (RadialGauge, LinearGauge, BulletGraph)
Asked by
Tony
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or