Question

How CircularGauge handle Nan value for pointer?

Posted 4 years ago by Avatar Jehiel

I have a CircularGauge where its pointer value was binded to a dynamic parameter that could possibly contain NAN value. Currently whenever this scenario happens my application crashes. I need to cater this scenario for I can't change this parameter value to 0 instead of Nan. 0 is different to Nan when it comes to my user's perspective. I need to to know how to properly handle this scenario. 

 

Thank you for your usual support.

[Modified 4 years ago]


Comments (1)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA

Hello,

I wonder if using TargetNullValue and/or FallbackValue in your Binding would work to convert the NaN value to a zero.

If neither of those worked, you could possibly use a value converter and watch for NaN to convert it to zero.


Actipro Software Support
Information The latest build of this product (2018.1 build 0673) was released 1 month ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.