ChartDirector 5.1 (.NET Edition)

SplineLayer.setTension


Usage

[VB] Public Sub setTension(tension As Double)
[C#] public void setTension(double tension);

Description

Sets the tension to use when computing the spline curve.

The tension parameter should be between -1 and 1. A positive tension will make the spline tighter. The spline curve will become straight line segments when tension is 1. A negative tension will make the spline looser.

Arguments

ArgumentDefaultDescription
tension(Mandatory)The tension of the spline, which should be between -1 and 1.

Return Value

None