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 - Series point rendering even when beyond axes maximum value
Summary: Series point rendering even when beyond axes maximum value
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Axes (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-29 05:18 EST by christopher ireland
Modified: 2016-03-30 04:42 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 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