Hello, i am attempting to make a gauge similar to #1 in the attached document. I have figured out how to make the scale rounded, but when i add a bar marker to it to work with progress, i cannot figure out how to get the rounded edges. It ends out coming out like #2 in the attached document. I would have thought that the marker would inherit the shape of the scale that it is on, but that does not seem to be the case.
Is this possible?
-Chris
Hello ,
I am glad to hear that you were able to find appropriate solution for your issue.
Thank you for using Infragistics Components.
Hristo,
Thanks, that fixed the issue with the black pixel border. This did not fix the problem of being curved on the right of the gauge, instead of flat, like the screenshot i attached last time.
However, I have gone ahead and implemented my own solution, so there is no need to continue troubleshooting this.
Hello,
Thank you for the provided sample. After looking at it I found that on your first LinerGauge you have a brush element (which is used to draw border) and on your second LinerGauge you doesn’t have. So you should remove the brush from the first or add brush to the second.
Please let me know if you have any further questions.
That is exactly what i want, but i cannot duplicate the same behavior. When i do this, the very right of the second linear gauge is curved instead of straight. I have attached my saved preset, can you take a look at and tell me what i am doing wrong? Also, i noticed that it looks like the second gauge is about one pixel or so to the right and below the original one. This causes a little bit of black to show through. How can this be fixed?
Also, just for personal knowledge, it appears you only got the curves to be at the top of the gauge, how did you do that?
What I could suggest you in your case is to add another liner gauge which will be used as marker, so you will be able to make its edges rounded, I’ve implemented this for you.