9

I am new to ZedGraph. So far I could draw curves and bars. How can I display just the dots without connecting them?

I am using C# and Windows Forms.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131

2 Answers2

12

The Scatter Plot Demo from ZedGraph's site shows how to do it. There is an IsVisible property on the Line which you set to false to only show the points.

LineItem myCurve = myPane.AddCurve("Title", list, Color.Black, SymbolType.Diamond);
myCurve.Line.IsVisible = false;
adrianbanks
  • 81,306
  • 22
  • 176
  • 206
2

I think your solution is on The Code Project. Have a look at the part where he talks about "The Fill class". There is a dot-only example.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Yvo
  • 18,681
  • 11
  • 71
  • 90