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
close icon

Only integer values as a Pointers value?

Hi
Is it even possible to show/display the pointer on the correct place when the Value is a decimal(double) and not just an Integer?
E.g. I have a linear gauge representing thermometer with range from -30 to +30° divided into segments of 5°, so the tick
is e.g. placed on 12.5°. But when the pointer is set to 12.5 it is drawn on 12 and not directly on 12.5 tick line.
It looks that just an integer part of the value is used to calculate the pointer position.

<gauge:SfLinearGauge.Scales>
     <gauge:LinearScale ScaleBarSize="15" MinorTicksPerInterval="1" MinimumValue="-30.0" MaximumValue="30.0">
<gauge:LinearScale.Pointers>
     <gauge:BarPointer Value="12.5" EnableAnimation="true" Color="#BBFFFFFF" Thickness="6" CornerRadiusType="End" CornerRadius="3"/>
</gauge:LinearScale.Pointers>                                        
  </gauge:LinearScale>
/gauge:SfLinearGauge.Scales>


Attachment: barpointer_8e30f8e3.zip

8 Replies

RF Radim Fryc March 4, 2019 09:24 AM UTC

No one with the same issue here?


SA Santhiya Arulsamy Syncfusion Team March 4, 2019 12:56 PM UTC

  
Hi Radim, 
 
Sorry for the inconvenience caused. 
 
We can able to reproduce the issue and we confirmed “BarPointer value not updated properly when setting the decimal points” as an issue. We will provide the patch on 13th March,2019. We appreciate your patience until then.  
You can now track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.  
Feedback link: https://www.syncfusion.com/feedback/5052/ 
 
Thanks, 
Santhiya A 



RF Radim Fryc March 4, 2019 01:06 PM UTC

Thanks. It's nice you can fix it so quickly. I'll wait... :)



BK Bharathiraja K Syncfusion Team March 5, 2019 08:49 AM UTC

Hi Radim, 
 
Thanks for your feedback. We will update you the patch as we promised earlier. 
 
Regards, 
Bharathiraja. 



RF Radim Fryc March 14, 2019 03:11 PM UTC

Today I've tried version 17.1.0.32-beta (via Nuget) and the issue is still not solved. 
As you can see from the screenshot attached, the pointer is showing 22 and not near to 23 if the value is 22.9.

Attachment: barpointer_86b158cd.zip


SA Santhiya Arulsamy Syncfusion Team March 14, 2019 04:18 PM UTC

 
Hi Utpal, 
 
Sorry for the inconvenience caused. 
 
We are not included this fix in the 17.1.0.32 beta version. We will include this fix in our volume 1 release which will be roll out on March 2019. 
 
There is some technical glitch in our Patch server system, we were not be able providing fix through the patch setup. Currently we are providing the custom assemblies for this fix. 
 
 
Thanks, 
Santhiya A 



RF Radim Fryc April 2, 2019 09:32 AM UTC

Thanks, the issue is now fixed.


BK Bharathiraja K Syncfusion Team April 2, 2019 09:35 AM UTC

Hi Radim, 
 
We are glad that the reported problem resolved at your end. Please let us know if you have any other queries. 
 
Regards, 
Bharathi. 


Loader.
Live Chat Icon For mobile
Up arrow icon