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 - Add ClickTolerance for TColorLineTool as for the TCursorTool
Summary: Add ClickTolerance for TColorLineTool as for the TCursorTool
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: 140923
Hardware: PC Windows
: Low enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-28 10:12 EDT by yeray alonso
Modified: 2014-10-28 10:16 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;