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 760

Summary: Changing Zoom Direction in Chart Editor at runtime causes erroneous Zoom Rectangle
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: EditorsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description christopher ireland 2014-05-05 09:08:22 EDT
To reproduce this issue, simply open the Chart Editor at runtime, change the Zoom direction and then attempt to zoom on the Chart.
Comment 1 christopher ireland 2014-05-05 09:09:57 EDT
A workaround to this issue is to use the Editor component's CloseEditor event to modify the problematic property change:

        private void button1_Click(object sender, EventArgs e)
        {
          this.editor1.CloseEditor += editor1_CloseEditor;
          this.editor1.ShowModal();
        }

        void editor1_CloseEditor(object sender, EventArgs e)
        {
          tChart1.Zoom.Pen.Visible = false;
        }