TreeMapColorRangeFactory

Methods

AddRange(System.String,System.String)

Adds а color range.

Parameters

fromColor - System.String

The staring color in the gradient.

toColor - System.String

The ending color in the gradient.

Example

Razor
 
             @(Html.Kendo().TreeMap()
                .Name("treeMap")
                .Colors(color =>
                {
                    color.AddRange("#0072c6", "#cbe2f3");
                })
             )
             
In this article
MethodsAddRange(System.String,System.String)
Not finding the help you need?
Contact Support