Page 1 of 1

Marks with 0 value hidden?

Posted: Tue May 27, 2014 7:20 am
by 15654539
I have a chart
http://193.145.251.126/pnp/files/QCzmnBJBS/Marks0.ten

Where marks with value 0 are not show. Why?

Thanks

Re: Marks with 0 value hidden?

Posted: Tue May 27, 2014 8:11 am
by Christopher
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);
    }