Configures the chart diagram as a XY-diagram.
public void XYDiagram( Action<XYDiagram> diagramAction )
Public Sub XYDiagram( diagramAction As Action(Of XYDiagram) )
A delegate method configuring the XYDiagram object.
We recommend using this method after series are specified, because when the first series is added to a chart, the diagram type is changed to be compatible with the series view type.
If a chart doesn’t have a specified diagram, this method sets it, and if a chart already has a specified diagram of another type, this method throws an exception.