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 1454

Summary: Series point rendering even when beyond axes maximum value
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: AxesAssignee: 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 2016-02-29 05:18:21 EST
To reproduce this issue, please use the following code:

    Points series;
    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      series = new Points(tChart1.Chart);
      tChart1.Axes.Left.SetMinMax(0, 10);
      tChart1.Axes.Left.MaximumOffset = 20;
      tChart1.Axes.Left.MinimumOffset = 20;
      tChart1.Axes.Bottom.SetMinMax(0, 10);
      tChart1.Axes.Bottom.MaximumOffset = 20;
      tChart1.Axes.Bottom.MinimumOffset = 20;
    }

    private void button4_Click(object sender, EventArgs e)
    {
      series.Add(11, 1);
    }
Comment 1 christopher ireland 2016-03-29 09:54:22 EDT
Reopened, as the following code in TeeChart.VCL does draw a point:

    Points series;
    private void InitializeChart()
    {

      tChart1.Aspect.View3D = false;
      series = new Points(tChart1.Chart);
      tChart1.Axes.Left.SetMinMax(0, 10);
      tChart1.Axes.Left.MaximumOffset = 60;
      tChart1.Axes.Left.MinimumOffset = 60;
      tChart1.Axes.Bottom.SetMinMax(0, 10);
      tChart1.Axes.Bottom.MaximumOffset = 60;
      tChart1.Axes.Bottom.MinimumOffset = 60;

      tChart1.Legend.Visible = false;
    }

    private void button4_Click(object sender, EventArgs e)
    {
      series.Add(11, 1);
    }
Comment 2 christopher ireland 2016-03-30 04:42:44 EDT
An alternative fix to to this issue on:
http://steema.cat:802/TeeChart.NET/TeeChart.NET_Sources/commit/90a08d98a2a49093f5a4b1be16506ccd29fafd42