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 - Changing ScrollPager.ColorBandTool StartValue and EndValue doesn't affect the main chart
Summary: Changing ScrollPager.ColorBandTool StartValue and EndValue doesn't affect the...
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: 140220
Hardware: PC Windows
: Lowest enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-11 09:04 EDT by yeray alonso
Modified: 2014-03-12 06:56 EDT (History)
1 user (show)

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-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.