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 626

Summary: Changing ScrollPager.ColorBandTool StartValue and EndValue doesn't affect the main chart
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: david
Priority: Lowest    
Version: 140220   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2014-03-11 09:04:26 EDT
Changing ScrollPager.ColorBandTool StartValue and EndValue doesn't affect the main chart.

It could be interesting to add some method to both set the ColorBandTool values and the Parent Chart Axis Range with onw unique call.

At the moment, if you do this:

  ScrollPager.ColorBandTool.StartValue:=500;
  ScrollPager.ColorBandTool.EndValue:=600;

The main chart doesn't set its bottom axis min and max; you still have to do it manually:

  Chart1.Axes.Bottom.SetMinMax(500, 600);

http://www.teechart.net/support/viewtopic.php?p=64302#p64302
http://www.teechart.net/support/viewtopic.php?p=65122#p65122
Comment 1 david berneda 2014-03-12 06:56:40 EDT
Implemented.

ColorBand tool has now a new event "OnChanged" that is called whenever the color band Start or End values are modified.

This event is now used internally by ScrollPager tool to refresh the parent chart.