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 590 - Left axis margins differ when series points added in after first paint
Summary: Left axis margins differ when series points added in after first paint
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Axes (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-20 06:46 EST by christopher ireland
Modified: 2014-02-20 10:07 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
button10 click result (19.13 KB, image/png)
2014-02-20 06:46 EST, christopher ireland
Details
button 10 then button 11 click result (19.24 KB, image/png)
2014-02-20 06:47 EST, christopher ireland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description christopher ireland 2014-02-20 06:46:50 EST
Created attachment 94 [details]
button10 click result

Pressing the following button:
        private void button10_Click(object sender, EventArgs e)
        {

          Steema.TeeChart.Styles.Line line = new Steema.TeeChart.Styles.Line(tChart1.Chart);
          line.LinePen.Width = 2;

          tChart1.Series.Add(line);

          tChart1.Series[0].XValues.DateTime = true;

          tChart1.Series[0].Add(new DateTime(2009, 7, 1, 0, 0, 0), 6525.4632);
          tChart1.Series[0].Add(new DateTime(2009, 7, 1, 0, 30, 0), 6325.000016);
        }

gives the attached image button10.png. Pressing the two buttons sequentially:

        private void button10_Click(object sender, EventArgs e)
        {

          Steema.TeeChart.Styles.Line line = new Steema.TeeChart.Styles.Line(tChart1.Chart);
          line.LinePen.Width = 2;

          tChart1.Series.Add(line);

          tChart1.Series[0].XValues.DateTime = true;
        }

        private void button11_Click(object sender, EventArgs e)
        {
          tChart1.Series[0].Add(new DateTime(2009, 7, 1, 0, 0, 0), 6525.4632);
          tChart1.Series[0].Add(new DateTime(2009, 7, 1, 0, 30, 0), 6325.000016);
        }

gives the attached image button11.png.

The difference between the two images is that the space between the left axis and the edge of the Chart component is bigger in the first case than the second.
Comment 1 christopher ireland 2014-02-20 06:47:22 EST
Created attachment 95 [details]
button 10 then button 11 click result