Skip to main content

lineTension

Type​

property

Summary​

determines whether line charts are drawn curved or not.

Syntax​

set the lineTension of widget to <number>
get the lineTension of widget

Description​

Use the lineTension property to determine whether the graph will be straight or curved. You can make it curved by setting it to more than 0.

Examples​

set the lineTension of widget "Chart View" to 0.5

Compatibility and Support​

OS

mac

windows

linux

ios

android

web