Marks with 0 value hidden?

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 with 0 value hidden?

Post by acastro » Tue May 27, 2014 7:20 am

I have a chart
http://193.145.251.126/pnp/files/QCzmnBJBS/Marks0.ten

Where marks with value 0 are not show. Why?

Thanks

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

Re: Marks with 0 value hidden?

Post by Christopher » Tue May 27, 2014 8:11 am

wakeup wrote:Where marks with value 0 are not show. Why?
This could be due to the Marks.SoftClip property. Try setting it to false, e.g.

Code: Select all

    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      tChart1.Series.Add(typeof(Line));

      tChart1[0].Add(1);
      tChart1[0].Add(0);
      tChart1[0].Add(2);

      tChart1[0].Marks.Visible = true;
      tChart1[0].Marks.SoftClip = false;
    }

    private void button1_Click(object sender, EventArgs e)
    {
      MemoryStream ms = new MemoryStream();
      tChart1.Export.Template.Save(ms);

      ms.Position = 0;
      tChart2.Import.Template.Load(ms);
    }
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