ZedGraph: just the dots

noname picture noname · Jul 12, 2009 · Viewed 9.8k times · Source

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.

Answer

adrianbanks picture adrianbanks · Jul 12, 2009

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;