StartValue and EndValue different than 0 and 100

I am having difficulty in getting my gauges to have anything other than 0 to 100 for start and end values. 

How come the below I cannot have these start and end values of 29000 to 40000? I'm only able to show 0-100. Why?

 <gauge:SfCircularGauge >

                    <gauge:SfCircularGauge.Scales>

                        <gauge:Scale>

                            <gauge:Scale.Ranges>

                                <gauge:Range StartValue="29000" EndValue="40000" />

                            </gauge:Scale.Ranges>

                        </gauge:Scale>

                    </gauge:SfCircularGauge.Scales>

                </gauge:SfCircularGauge>


1 Reply 1 reply marked as answer

ET Eswaran Thirugnanasambandam Syncfusion Team February 14, 2022 12:08 PM UTC

Hi Ivan Harris, 
 
The elements of the gauge will be positioned based on its scale value and its default start and end value is 0, 100 respectively. But the provided range value is beyond the scale’s start and end. So, it is not get rendered in view. If you want to show the ranges in 29000 to 40000, then you must change the scale’s StartValue and EndValue too. Please find the snippets below 
[C#] 
<gauge:SfCircularGauge> 
    <gauge:SfCircularGauge.Scales> 
        <gauge:Scale StartValue="29000" 
                                EndValue="40000" 
                                Interval="500"> 
            <gauge:Scale.Ranges> 
                <gauge:Range StartValue="29000" 
                                          EndValue="40000" /> 
            </gauge:Scale.Ranges> 
        </gauge:Scale> 
    </gauge:SfCircularGauge.Scales> 
</gauge:SfCircularGauge> 
 
 
Also, we have prepared the sample for the same. Please get it from the below link. 
 
Please refer the below user guide link for more information. 
 
Regards, 
Eswaran. 


Marked as answer
Loader.
Up arrow icon