How CircularGauge handle Nan value for pointer?

Gauge for WPF Forum

Posted 9 years ago by Jehiel
Version: 15.1.0620

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 9 years ago]

Comments (1)

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


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

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.