Scale not showing correct

I am working on an app and trying to use the Circular Gage.  My problem is that the range is not staying consistent.  Here is my code:

<syncfusion:SfCircularGauge Width="400" Height="400"  >
                    <syncfusion:SfCircularGauge.Scales>
                        <syncfusion:CircularScale LabelStroke="Black" StartAngle="135" SweepAngle="270"  StartValue="-.010" 
                                                  EndValue=".010" Interval=".002" TickStroke="Black">
                            <syncfusion:CircularScale.Ranges>
                                <syncfusion:CircularRange StartValue=".000" EndValue=".010" Stroke="#FF47EE08" />
                                <syncfusion:CircularRange StartValue="-.010" EndValue=".000" Stroke="#FFF00914" />
                            </syncfusion:CircularScale.Ranges>
                            <syncfusion:CircularScale.Pointers>
                                <syncfusion:CircularPointer PointerType="NeedlePointer" Value=".002" NeedlePointerStroke="Black" 
                                                            NeedlePointerStrokeThickness="5" PointerCapStroke="Black" NeedleLengthFactor="0.6" />
                            </syncfusion:CircularScale.Pointers>
                        </syncfusion:CircularScale>
                    </syncfusion:SfCircularGauge.Scales>
 </syncfusion:SfCircularGauge>

Initially, the scale is correct with a start value of -.01 and an end value of .01.  However when a build is performed, the gauge then looks like this:


Is there a way to prevent this?

2 Replies

SG Sri Gayathri Gopalakrishnan Syncfusion Team February 2, 2018 12:57 PM UTC

Hi Craig,

Query: Labels are not rendering properly

We have analyzed your reported problem, it seems the compiler takes as the long precision values instead of exact value. For example, if 0.01 is taken as 0.0999977893 digits. Currently we are analyzing this and raised a forum in MSDN regarding the above issue.

We will update you the details regarding in one business day probably on 5th February 2018.

We appreciate your patience until then.

Regards,
Sri Gayathri. G



SG Sri Gayathri Gopalakrishnan Syncfusion Team February 5, 2018 12:15 PM UTC

Hi Craig,

Query: Labels are not rendering properly

We have considered reported problem as defect .We have logged defect report regarding the same. This fix will be available in our Upcoming volume 1 2018 main release which is expected to be released out by the mid of February 2018.

Regards,
Sri Gayathri. G

Loader.
Up arrow icon