ChartDirector 7.1 (C++ Edition)

PolarSplineAreaLayer.setTension


Usage

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