Page 1 of 1

Marks now well positionated

Posted: Tue May 27, 2014 6:54 am
by 15654539
Please find the example application to reproduce. If you press button3, to load the "Chart1.ten" file, you can see that some of the marks on the right are not well positionated although they have very similar values.

http://193.145.251.126/pnp/files/OLxLvb ... tMarks.zip

Re: Marks now well positionated

Posted: Tue May 27, 2014 9:54 am
by Christopher
wakeup wrote:Please find the example application to reproduce. If you press button3, to load the "Chart1.ten" file, you can see that some of the marks on the right are not well positionated although they have very similar values.
Here you could try setting the Marks.AutoPostion property to false, e.g.

Code: Select all

        private void button3_Click(object sender, EventArgs e)
        {
          tChart1.Import.Template.Load(@"D:\Downloads\TestMarks\Chart1.ten");// @"C:\example.ten");

          for (int i = 0; i < tChart1.Series.Count; i++)
          {
            tChart1[i].Marks.Clip = false;
            tChart1[i].Marks.AutoPosition = false;
          }
        }