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 447 - ColorLine draw out of bound Chart when AllowDrag is false
Summary: ColorLine draw out of bound Chart when AllowDrag is false
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: TeeChart.NET 2013 4.1.2013.11080
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-21 04:00 EST by sandra pazos
Modified: 2014-01-09 11:12 EST (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 sandra pazos 2013-11-21 04:00:38 EST
When you there is a ColorLine tool in a Chart with AllowDrag property to false, if you scroll the Chart the ColorLine is drawn out of bounds of Chart.
To reproduce the problem you can use next code: 
   private Steema.TeeChart.Styles.FastLine fast;
        private Steema.TeeChart.Tools.ColorLine colorLine1;
        private void InitializeChart()
        {
          fast = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
          fast.FillSampleValues();
          colorLine1 = new Steema.TeeChart.Tools.ColorLine(tChart1.Chart);
          colorLine1.Axis = tChart1.Axes.Left;
          colorLine1.Value = fast.YValues[3];        
          //ColorLine Initialization: 
          colorLine1.AllowDrag = false;
          colorLine1.NoLimitDrag = false;
}
The same occurs in VCL version.
Comment 1 sandra pazos 2013-11-21 04:03:27 EST
TeeChartVCL bug number is [id448].