colorData property

ChartData? colorData
getter/setter pair

The data that determines the background color of each treemap data cell.

This field is optional. If not specified, size_data is used to determine background colors. If specified, the data is expected to be numeric. color_scale will determine how the values in this data map to data cell background colors.

Implementation

ChartData? colorData;