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 353

Summary: [TF02016470] DragMarks tool doesn't calculate correctly the position, when you do ...
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2013-11-20 11:25:12 EST
DragMarks tool doesn't calculate correctly the position, when you do zoom.
If you use a DragMarks tool and you drag a mark when you do zoom, the arrow is moved of its initial position changing its position. 
        public Form1()
        {
            InitializeComponent();
            InitializeChart();
        }
        Steema.TeeChart.Styles.Points Series1;
        Steema.TeeChart.Tools.DragMarks dragMark;
        private void InitializeChart()
        {
            tChart1.Aspect.View3D = false;
            Series1 = new Points(tChart1.Chart);
            dragMark = new DragMarks(tChart1.Chart);
            Random rnd = new Random();
            for (int i = 0; i < 10; i++)
            {
                Series1.Add(i, rnd.Next(100));
           
            }
      
            Series1.Marks.Visible = true;
            Series1.Marks.Arrow.Color = Color.Black;
Moreover, the problem occurs even when the chart is resized, too. It is related by TV52016518.  [created:2013-01-03T14:16:48.000+01:00 reported by:sandra@steema.com reported in version:]