[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.TreeMapBuilder-1.Palette

Palette Method

Palette(Action<ListItemFactory<TreeMapItemStyle, TreeMapItemStyleBuilder>>)

Configure Palette. Sets an array of default colors to be used in a tree map.

Declaration
public TreeMapBuilder<T> Palette(Action<ListItemFactory<TreeMapItemStyle, TreeMapItemStyleBuilder>> builder)
Parameters
Type Name Description
Action<ListItemFactory<TreeMapItemStyle, TreeMapItemStyleBuilder>> builder

The builder action.

Returns
Type Description
TreeMapBuilder<T>

Current builder.

Palette(IEnumerable<string>)

Configure Palette. Sets an array of default colors to be used in a tree map.

Declaration
public override TreeMapBuilder<T> Palette(IEnumerable<string> colors)
Parameters
Type Name Description
IEnumerable<string> colors

The color collection

Returns
Type Description
TreeMapBuilder<T>

Current builder

Overrides
Remarks

The array contains strings that represent CSS colors.