pointRenderMode property

PointRenderMode? pointRenderMode
final

Defines the painting mode of the data points.

The data points in pie and doughnut chart can be filled either with solid colors or with sweep gradient by using this property.

  • If PointRenderMode.segment is specified, the data points are filled with solid colors from palette or with the colors mentioned in pointColorMapping property.
  • If PointRenderMode.gradient is specified, a sweep gradient is formed with the solid colors and fills the data points.

Note: This property is applicable only if the onCreateShader or pointShaderMapper is null.

Also refer PointRenderMode.

Defaults to pointRenderMode.segment.

Implementation

final PointRenderMode? pointRenderMode;