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 1836 - TSeriesBandTool still drawn when Series2 is inactive
Summary: TSeriesBandTool still drawn when Series2 is inactive
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: yeray alonso
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-07 04:48 EDT by yeray alonso
Modified: 2017-04-07 04:49 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 2017-04-07 04:48:03 EDT
TSeriesBandTool still drawn when Series2 is inactive.
This simple code reproduces the problem:

uses Series, TeeSeriesBandTool;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=False;
  Chart1.Legend.Visible:=False;

  Chart1.AddSeries(TLineSeries).FillSampleValues;
  Chart1.AddSeries(TLineSeries).FillSampleValues;

  with Chart1.Tools.Add(TSeriesBandTool) as TSeriesBandTool do
  begin
    Series:=Chart1[0];
    Series2:=Chart1[1];
  end;

  Chart1[1].Active:=False;
end;