Hello,
I have created an ultra gauge with a few digital gauge's on it (with the text set to black). The gauge works fine, but the problem is once I resize the gauge to a certain size (smaller), the text no longer appears black but more gray (making it a little hard to read the text when on a 'Control' color background). I have a sample that shows the issue. Please let me know how i can get it to you, and i will send it. In the sample, resize the UC control on the main form to be bigger and you will see the digital gauge turn black, but make it small again and it goes back to a greyish color. Please let me know if you have any questions.
How can I make it so the text appears darker (even when smaller). I am open to any ideas such as using a different font for the digital gauge or making it bold (not sure how to do this).
-Chris
Max,
Thanks for the quick reply. I think for my purposes using a 14 segment gauge is the best solution, i didn't really care for setting the smoothing mode. Unfortunatly, this isn't a perfect solution, but it will work.
Hi Chris,
The issue you're observing is the result of anti-aliasing. A seven-segment digital gauge makes this even more obvious when the size of the gauge gets smaller, because the segments have triangular caps. There's no font that can be assigned to the digital gauge, because the segments are basically graphics paths. So what can be done about this? Well, not a whole lot, but you can try using these properties on the SegmentedDigitalGauge:
SmoothingMode = None; This turns off anti-aliasing, and while it will make the segments look darker, this comes at the cost of some possibly jagged edges.
DigitSpacing = 0; Less space between digits = more room for segments to draw themselves.
You can try using a 14-segment gauge. It's somewhat less prone to anti-aliasing effects, but may not be an option for you. Also, note that you would have to change the above properties only when your gauge is too small to be readable.
Hope this helps you out.
Max
Hello Chris,
I will be happy to assist you with this issue
I have created case # CAS-110337-B7R0D7 for you to better assist you with this issue going forward. To access the case, simply log into your Infragistics account and click on "Support Activity".
I have investigated this issue regarding the change in color when you decrease the size of the UltraGuage. I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 132814. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will leave this case open and update you with any new information after the review. You can also continue to send updates to this case at any time.
You can view the status of the development issue connected to this case by going to the “Account” link on our website, hovering to the "Support Activity" dropdown and selecting the "Development Issues" tab.
Please let me know if you have further questions in this matter utilizing the case created.