Smoothing

live example

Explore the API in the live example.

api reference

Smoothing()
Component implementing the polygon smoothing feature. This component allows for smoothing polygons in charts that have elements made of polygons such as lines or areas. When this component is available, its API is exposed directly via the widget's own namespace.
Smoothing.smoothing([on])
Enables/disables the smooth property.

Parameters

NameTypeDescription
onbooleanoptionalWhether to enable polygon smoothing. Default value is false.

Returns

Widget
Reference to the Widget's API.