Skip to main content

MVCxChartControl.SwiftPlotDiagram(Action<SwiftPlotDiagram>) Method

Configures the chart diagram as a swift plot diagram.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void SwiftPlotDiagram(
    Action<SwiftPlotDiagram> diagramAction
)

Parameters

Name Type Description
diagramAction Action<SwiftPlotDiagram>

A delegate method configuring the SwiftPlotDiagram object.

Remarks

Note

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.

Important

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.

See Also