Hi TeeChart forum folks,
I'm in need of a Color Band Drag where the upper and lower sizing grip areas are larger than a few pixels height, owing to the chart being used on an HMI touch screen application in a rugged dynamic environment where the operator may be using gloves or otherwise not have the time or calm situation to find the sizing grip easily. Changing the color band width does not change the click tolerance, as I have found out.
The Color Line has the ColorLineClickTolerance property which is exactly what I want. However that doesn't seem to be available for Color Band Drag unfortunately.
I'd settle for a workalike of upper and lower Color Lines with a large ClickTolerance for both, if there was some way of color-filling in the region between them? Is that possible?
A search through the forum archives for 'band tolerance, between color line fill' and other things I thought of did not lead to any suggestions for me.
I'm using the .NET chart, and am a TeeChart newbie, so any pointers or ideas welcomed.
Increasing Click tolerance for Color Band?
Re: Increasing Click tolerance for Color Band?
Never mind, I found it.. didn't realise the Color Band has a StartLine and EndLine aggregated in it. This seems to work (tried in the ColorBandDrag sampler app):
this.colorBand1.StartLine.ColorLineClickTolerance = 20;
this.colorBand1.EndLine.ColorLineClickTolerance = 20;
this.colorBand1.StartLine.ColorLineClickTolerance = 20;
this.colorBand1.EndLine.ColorLineClickTolerance = 20;
Re: Increasing Click tolerance for Color Band?
Hi,
I'm glad to hear you found it. Thanks for sharing.
I'm glad to hear you found it. Thanks for sharing.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |