Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 984

Summary: Add ClickTolerance for TColorLineTool as for the TCursorTool
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Low    
Version: 140923   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=15248
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2014-10-28 10:12:22 EDT
Add ClickTolerance for TColorLineTool as for the TCursorTool
Comment 1 yeray alonso 2014-10-28 10:16:24 EDT
Added ClickTolerance property for TColorLineTool so it's also accessible from a TColorBandTool. Ie:

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=false;
  Chart1.AddSeries(TFastLineSeries).FillSampleValues();

  with Chart1.Tools.Add(TColorBandTool) as TColorBandTool do
  begin
    Axis:=Chart1.Axes.Bottom;
    StartValue:=5;
    EndValue:=15;

    StartLine.ClickTolerance:=12;
    EndLine.ClickTolerance:=12;
  end;
end;