noname
noname

Reputation:

ZedGraph: just the dots

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.

Upvotes: 9

Views: 10356

Answers (2)

adrianbanks
adrianbanks

Reputation: 82944

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;

Upvotes: 12

Yvo
Yvo

Reputation: 19263

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.

Upvotes: 2

Related Questions