Skip to main content

TreeMapColorizerBuilder.ColorCodeField Method

Name Parameters Description
ColorCodeField(JS) value Specifies the name of the data source field whose values define the color of a tile. Applies only if the type property is 'gradient' or 'range'. Mirrors the client-side colorCodeField option.
ColorCodeField(String) value Specifies the name of the data source field whose values define the color of a tile. Applies only if the type property is 'gradient' or 'range'. Mirrors the client-side colorCodeField option.