We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Gradient pointer


How do I gradient the orange pointer of the gauge in this example?

3 Replies

RS Ramya Soundar Rajan Syncfusion Team December 19, 2019 01:36 PM UTC

Hi Hüseyin, 
Greeting from Syncfusion, 
Currently we don’t have gradient support for range pointer. We have already logged the feature request for this support. Please find the link below, 
 However, you can achieve this requirement by using gradient color for ranges as shown in the below code. 
            <gauge:Scale   RimColor="LightGray" RimThickness="30" RadiusFactor="1" ShowTicks="False" 
                               StartValue="0" EndValue="100" Interval="10" LabelOffset="0.75" LabelColor="#424242" 
                              LabelFontSize ="15" > 
                        <gauge:NeedlePointer Thickness="7" LengthFactor="0.55" Color="LightGray" 
                                             KnobColor="White" TailColor="LightGray" TailLengthFactor="0.2" 
                                             Type="Triangle"  KnobRadius="12" Value="80" 
                                             AnimationDuration="5" TailStrokeWidth="2" TailStrokeColor="LightGray" 
                                             KnobStrokeColor="LightGray" KnobStrokeWidth="8"/> 
                        <gauge:Range StartValue="0" EndValue="50" Thickness="30"  Offset="1"> 
                                <gauge:GaugeGradientStop Color="Yellow" Value="0"/> 
                                <gauge:GaugeGradientStop Color="Red" Value="30"/> 
                                <gauge:GaugeGradientStop Color="Blue" Value="50"/> 



Please refer the KB link to apply gradient color for ranges below, 

We have prepared the sample by applying gradient for range. Please refer the sample link below, 

Ramya S 

Hüseyin December 20, 2019 08:01 AM UTC

you are wonderful. thank you.

RA Rachel A Syncfusion Team December 20, 2019 10:33 AM UTC

Hi Hüseyin, 
Thanks for the feedback. 

Live Chat Icon For mobile
Up arrow icon