The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

Series.Smooth Property

Gets or sets whether the curve smoothing is turned on for the line or scatter chart.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

bool Smooth { get; set; }
Property Smooth As Boolean
bool Smooth { get; set; }
Property Smooth As Boolean
bool Smooth { get; set; }
Property Smooth As Boolean

Property Value

Type Description
Boolean

true, to turn on the curve smoothing; otherwise, false.

Property Value

Type Description
Boolean

true, to turn on the curve smoothing; otherwise, false.

Property Value

Type Description
Boolean

true, to turn on the curve smoothing; otherwise, false.

Remarks

The following code sample creates a complex chart that contains a series of the ChartType.Line type with curve smoothing.

Dim worksheet As Worksheet = workbook.Worksheets("chartTask5")
workbook.Worksheets.ActiveWorksheet = worksheet

' Create a chart and specify its location
Dim chart As Chart = worksheet.Charts.Add(ChartType.ColumnClustered, worksheet("B2:D8"))
chart.TopLeftCell = worksheet.Cells("F2")
chart.BottomRightCell = worksheet.Cells("L15")

' Change the chart type of the second series
chart.Series(1).ChangeType(ChartType.Line)
chart.Series(1).Smooth = True

' Use secondary axes
chart.Series(1).AxisGroup = AxisGroup.Secondary

' Specify the chart style
chart.Style = ChartStyle.ColorGradient

' Set the position of the legend
chart.Legend.Position = LegendPosition.Bottom
See Also