How to exclude values in an interactive circular gauge

Gauge for WPF Forum

Posted 9 years ago by Julien Poulin
Avatar
Hello,

I would like to exclude some value when using an interactive circular gauge.

For instance, I have a circular gauge with snapping enabled and values ranging from 0 to 4 (default value is 2), but I don't want the Needle to stop at position 1.

Is there a way to do this?

Thank you in advance.

Comments (3)

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

You can set the SnappingInterval to 2, then the needle will only stop at 0, 2, and 4.


Actipro Software Support

Posted 9 years ago by Julien Poulin
Avatar
Thank you for your answer. However, that is not exactly the behavior I'm looking for. My explanation was probably misleading. What I really want is to be able to move the needle to values 0,2,3 and 4 (only value 1 is not permitted).

I don't think the SnappingInterval property will help me in this case...

Is there another way?
Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Julien,

Sorry, it's not currently possible to exclude values. We've added a ValueChanging event to the pointers for the next maintenance release, which will allow you to change the value 1 to 2 or 0 to "exclude" it.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 16 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.