Increasing Click tolerance for Color Band?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
geoff
Newbie
Newbie
Posts: 4
Joined: Mon Feb 11, 2013 12:00 am

Increasing Click tolerance for Color Band?

Post by geoff » Mon Sep 09, 2013 5:42 am

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.

geoff
Newbie
Newbie
Posts: 4
Joined: Mon Feb 11, 2013 12:00 am

Re: Increasing Click tolerance for Color Band?

Post by geoff » Tue Sep 10, 2013 1:02 am

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;

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Increasing Click tolerance for Color Band?

Post by Yeray » Tue Sep 10, 2013 11:37 am

Hi,

I'm glad to hear you found it. Thanks for sharing.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply