Page 1 of 1

Show only marks

Posted: Mon Feb 22, 2016 4:11 pm
by 15677528
I have a Points3D serie where some of the points have a mark.
How can I make only the marks visible and not the curve?

Re: Show only marks

Posted: Mon Feb 22, 2016 5:06 pm
by Christopher
TL123 wrote:I have a Points3D serie where some of the points have a mark.
How can I make only the marks visible and not the curve?
If I understand you correctly then you can manipulate the visibility of the inter-point curve like this:

Code: Select all

    private void InitializeChart()
    {
      Points3D series = new Points3D(tChart1.Chart);
      series.FillSampleValues();
      series.Marks.Visible = true;

      series.LinePen.Visible = false;
      series.Pointer.Visible = true;
    }