Skip to main content

TreeMapColorizerBuilder.Type(TreeMapColorizerType) Method

Specifies the colorizing algorithm. Mirrors the client-side type option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeMapColorizerBuilder Type(
    TreeMapColorizerType value
)

Parameters

Name Type Description
value TreeMapColorizerType

The option value.

Returns

Type Description
TreeMapColorizerBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().TreeMap()
    .Colorizer(colorizer => colorizer
        .Type(TreeMapColorizerType.Discrete)
    )
)
See Also