Page 1 of 1

Bars over the marks and extrange white lines

Posted: Wed May 28, 2014 6:42 am
by 15654539
Here an example to reproduce
http://193.145.251.126/pnp/files/QCzmnB ... ksover.ten

First in the case 1 of the screen shot, the bar is over some marks, I know I can aboid it reordering the series, but there is any property to have always the marks over any serie?

Second, depending on the size of the chart, sometimes apearrs white vertical lines in the marks, two examples are in the screen shot with the numbers 2 and 3. Why?

Thanks

Re: Bars over the marks and extrange white lines

Posted: Wed May 28, 2014 8:42 am
by Christopher
wakeup wrote:First in the case 1 of the screen shot, the bar is over some marks, I know I can aboid it reordering the series, but there is any property to have always the marks over any serie?

Second, depending on the size of the chart, sometimes apearrs white vertical lines in the marks, two examples are in the screen shot with the numbers 2 and 3. Why?

Thanks
Referring to the code below, the first case could be resolved by Marks.OnTop = true and the second by Marks.Arrow.Visible = false;

Code: Select all

    private void button2_Click(object sender, EventArgs e)
    {
      tChart1.Import.Template.Load(@"D:\tmp\marksover.ten");

      for (int i = 0; i < tChart1.Series.Count; i++)
      {
        tChart1[i].Marks.OnTop = true;
        tChart1[i].Marks.Arrow.Visible = false;
      }
    }