Hello
I have a XamLiniearGauge with dynamic intervals. Is it possible to somehow “chose” which labels you want to show? I know the LabelInterval property, but it is not sufficient. Example of intervals:
0 – 14000. Shown labels: 0, 10.000 and 14.000
0 -1. Shown labels: 0, 0.5 and 1
90-98: Show labels: 90, 95 and 98
There is some other values between these.
Normally it should be possible to just take the difference between two items in the gauge and do some magic in the LabelFormat event. The problem is the difference between items is not the same. So in the lower end the difference could be 1 and in higher ends 1,2.
Any suggestions?
I did go with another solution.
Hi logimatic,
I'm glad you were able to come up with a solution to your issue. For anyone else wondering how you might do this I created a sample. The approach I took was to use the FormatLabel event to set the labels I didn't want to see to null. I then hide all of the tickmarks and use the LinearGauge range feature. If you make the ranges very small you can imitate tickmarks and this lets you place them wherever you want.