Do you have any tips for overlapping ranges?
Right now I'm staggering every/other range with an offset. However, it would be ideal if there was some way to do something where they cut into each other and shared a thicker space.
Dimitar, that looks good. I like the idea of gradients, but the more I looked at them it didn't accurately portray overlapping states. Here is another solution for your consideration.
My ranges are user-definable. There's a few things at play here. First, all ranges are sorted by their lower bounds. Then, any overlapping group of ranges are narrowed and offset to create a stepped look. This solution is relatively scalable for complex ranges.
Thanks again, though. Your project has gone into my demo folder for future reference!
Hi Caylan,
Thank you for contacting Infragistics Developer Support.
What you could do in your case is to create a method where you evaluate whether or not the range, which is about to be added intersects with another existing range in the gauge view. If it does, create a new range where the two ranges overlap with a gradient brush with the colors of the two ranges. This way it will look like the two ranges blend into one another.
I have attached a sample, which demonstrates this suggestion.
Please let me know if you have any additional questions.