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 - Two TCursorTool objects on the same TChart become invisible
Summary: Two TCursorTool objects on the same TChart become invisible
Status: RESOLVED WORKSFORME
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: 20.170306
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-26 23:12 EST by Al Gonzalez
Modified: 2016-12-28 11:48 EST (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 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.