[]
Configure Palette. Sets an array of default colors to be used in a tree map.
public TreeMapBuilder<T> Palette(Action<ListItemFactory<TreeMapItemStyle, TreeMapItemStyleBuilder>> builder)
Type | Name | Description |
---|---|---|
Action<ListItemFactory<TreeMapItemStyle, TreeMapItemStyleBuilder>> | builder | The builder action. |
Type | Description |
---|---|
TreeMapBuilder<T> | Current builder. |
Configure Palette. Sets an array of default colors to be used in a tree map.
public override TreeMapBuilder<T> Palette(IEnumerable<string> colors)
Type | Name | Description |
---|---|---|
IEnumerable<string> | colors | The color collection |
Type | Description |
---|---|
TreeMapBuilder<T> | Current builder |
The array contains strings that represent CSS colors.