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 1732

Summary: Two TCursorTool objects on the same TChart become invisible
Product: VCL TeeChart Reporter: Al Gonzalez <algonzalez74>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: ---    
Version: 20.170306   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description Al Gonzalez 2016-12-26 23:12:05 EST
If you add two TCursorTool controls to same TChart, when the position of the vertical or horizontal lines of both controls match, these matching lines become invisible.

Statements to reproduce the problem with a simple TChart ("Chart1") placed inside a form:

Uses
  VCLTee.Series, VCLTee.TeeTools;

//...

  Chart1.AddSeries (TBarSeries).FillSampleValues;
  Chart1.Tools.Add (TCursorTool);
  Chart1.Tools.Add (TCursorTool);


The four lines intersect at the center of the chart. Move one of them with the mouse and you will see it appear.
Comment 1 Al Gonzalez 2016-12-28 11:47:08 EST
By Default, TCursorTool paints in "Xor" Mode. The solution is to set FullRepaint property in True.