Marks now well positionated

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
acastro
Advanced
Posts: 204
Joined: Tue Oct 27, 2009 12:00 am

Marks now well positionated

Post by acastro » Tue May 27, 2014 6:54 am

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
Attachments
marks.png
marks.png (26.28 KiB) Viewed 4142 times

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Marks now well positionated

Post by Christopher » Tue May 27, 2014 9:54 am

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;
          }
        }
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply