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 632

Summary: GetAxesChartRect changes to AxesChartRect don't reposition Axes Labels & Titles
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: AxesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: TeeChart.NET 2014 4.1.2014.02060   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description christopher ireland 2014-03-13 08:11:52 EDT
This problem can be seen by running the following code:

    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      tChart1.Series.Add(typeof(Bar)).FillSampleValues();
      tChart1.Axes.Left.Title.Text = "Left";
      tChart1.GetAxesChartRect += tChart1_GetAxesChartRect;
    }

    void tChart1_GetAxesChartRect(object sender, GetAxesChartRectEventArgs e)
    {
      Rectangle rect = e.AxesChartRect;
      rect.X = 100;
      e.AxesChartRect = rect;
    }