[]
Configure Palette. Sets an array of default colors to be used in a tree map.
public TreeMapBuilder<T> Palette(Action<ListItemFactory<TreeMapItemStyle, TreeMapItemStyleBuilder>> builder)
Public Function Palette(builder As Action(Of ListItemFactory(Of TreeMapItemStyle, TreeMapItemStyleBuilder))) As TreeMapBuilder(Of T)
| 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)
Public Overrides Function Palette(colors As IEnumerable(Of String)) As TreeMapBuilder(Of T)
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | colors | The color collection |
| Type | Description |
|---|---|
| TreeMapBuilder<T> | Current builder |
The array contains strings that represent CSS colors.