Back to Devexpress

StackedSplineArea3DSeriesView.LineTensionPercent Property

corelibraries-devexpress-dot-xtracharts-dot-stackedsplinearea3dseriesview-b3a6b605.md

latest3.3 KB
Original Source

StackedSplineArea3DSeriesView.LineTensionPercent Property

Gets or sets the line tension to be used when drawing splines of the StackedSplineArea3DSeriesView, in percents.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public int LineTensionPercent { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Layout)>
Public Property LineTensionPercent As Integer

Property Value

TypeDescription
Int32

An integer value specifying the line tension percentage.

|

Remarks

Use the LineTensionPercent property to specify the “smoothness” of a spline curve. Note that if the LineTensionPercent property is set to 0 , the StackedSplineArea3DSeriesView draws in the same way as the StackedArea3DSeriesView.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LineTensionPercent property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-charts-create-a-3d-stacked-spline-area/CS/3DStackedSplineAreaChart/Form1.cs#L36

csharp
// Adjust the view-type-specific options of the series.
((StackedSplineArea3DSeriesView)series1.View).LineTensionPercent = 10;
((StackedSplineArea3DSeriesView)series2.View).LineTensionPercent = 90;

winforms-charts-create-a-3d-stacked-spline-area/VB/3DStackedSplineAreaChart/Form1.vb#L33

vb
' Adjust the view-type-specific options of the series.
CType(series1.View, StackedSplineArea3DSeriesView).LineTensionPercent = 10
CType(series2.View, StackedSplineArea3DSeriesView).LineTensionPercent = 90

See Also

StackedSplineArea3DSeriesView Class

StackedSplineArea3DSeriesView Members

DevExpress.XtraCharts Namespace