Page 1 of 1

Zooming with a line and points series get in unsync

Posted: Thu Apr 24, 2014 12:14 pm
by 15666079
Hi!

I have a plot with a line and several point series.
Whe I zoom in the point and the line is not synched any more, even to pints series that should be in same location is in position correctly.

Image

Or if I zoom even further.

Image

The points marks are the same, but they are positioned in different locations, why?

Regards
Odne

Re: Zooming with a line and points series get in unsync

Posted: Thu Apr 24, 2014 12:16 pm
by 15666079
Forgot to mention that we are using version 4.1.2012.5103 TeeChart for WinForms.

Odne

Re: Zooming with a line and points series get in unsync

Posted: Fri Apr 25, 2014 9:46 am
by Christopher
Odne wrote:Forgot to mention that we are using version 4.1.2012.5103 TeeChart for WinForms.
I'm using the latest publicly available version of TeeChart.NET for WinForms with this code:

Code: Select all

    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      Line line = new Line(tChart1.Chart);
      Points points = new Points(tChart1.Chart);

      Random rnd = new Random();

      for (int i = 0; i < 10; i++)
      {
        double x = rnd.NextDouble();
        double y = rnd.NextDouble();
        line.Add(x, y);
        points.Add(x, y);
      }
    }
Zooming on the points here does not produce the kind of effects you show. Does it at your end? If the code above doesn't reproduce the problem, could you please give me some code that does?