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 - Changing Zoom Direction in Chart Editor at runtime causes erroneous Zoom Rectangle
Summary: Changing Zoom Direction in Chart Editor at runtime causes erroneous Zoom Rect...
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Editors (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-05 09:08 EDT by christopher ireland
Modified: 2014-05-05 09:10 EDT (History)
0 users

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 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;
        }