Back to Devexpress

FullStackedSplineAreaSeriesView.LineTensionPercent Property

corelibraries-devexpress-dot-xtracharts-dot-fullstackedsplineareaseriesview.md

latest3.3 KB
Original Source

FullStackedSplineAreaSeriesView.LineTensionPercent Property

Gets or sets the line tension to be used when drawing splines of the FullStackedSplineAreaSeriesView, 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 FullStackedSplineAreaSeriesView draws in the same way as the FullStackedAreaSeriesView.

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-chart-create-a-full-stacked-spline-area-chart/CS/FullStackedSplineAreaChart/Form1.cs#L35

csharp
// Adjust the view-type-specific options of the series.
((FullStackedSplineAreaSeriesView)series1.View).LineTensionPercent = 80;
((FullStackedSplineAreaSeriesView)series2.View).Transparency = 80;

winforms-chart-create-a-full-stacked-spline-area-chart/VB/FullStackedSplineAreaChart/Form1.vb#L33

vb
' Adjust the view-type-specific options of the series.
CType(series1.View, FullStackedSplineAreaSeriesView).LineTensionPercent = 80
CType(series2.View, FullStackedSplineAreaSeriesView).Transparency = 80

See Also

FullStackedSplineAreaSeriesView Class

FullStackedSplineAreaSeriesView Members

DevExpress.XtraCharts Namespace