Change color of InnerPoint of Radial Gauge Needle

1 Answer 12 Views
Gauges (RadialGauge, LinearGauge, BulletGraph)
Joaquín
Top achievements
Rank 2
Joaquín asked on 10 Mar 2022, 02:00 PM
Is it possible? It is always solid white for me, and cannot find out a way to chage it. Thank you.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 15 Mar 2022, 08:31 AM
Hello, Joaquín,

According to the provided information, I suppose that you are willing to change the color of the following element:

It is possible to customize the color of the entire needle element, not only its dot:

In order to make the dot colored differently, I can suggest you to add a second needle just for showing the dot. I have prepared a sample code snippet for your reference which result is illustrated below: 

            this.radialGaugeNeedle1.PointRadiusPercentage = 0;
            this.radialGaugeNeedle1.BackColor = Color.Lime;
            this.radialGaugeNeedle1.BackColor2 = Color.Lime;

            RadialGaugeNeedle radialGaugeNeedle2 = new RadialGaugeNeedle();
            radialGaugeNeedle2.PointRadiusPercentage = 10;
            radialGaugeNeedle2.InnerPointRadiusPercentage = 0;
            radialGaugeNeedle2.LenghtPercentage = 0;
            radialGaugeNeedle2.BackColor = Color.Fuchsia;
            radialGaugeNeedle2.BackColor2 = Color.Fuchsia;
            this.radRadialGauge1.Items.Add(radialGaugeNeedle2);

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Joaquín
Top achievements
Rank 2
commented on 18 Mar 2022, 05:06 PM

Adding a second needle does the trick. I'm so blunt sometimes... Thank you Dess.
Tags
Gauges (RadialGauge, LinearGauge, BulletGraph)
Asked by
Joaquín
Top achievements
Rank 2
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or