Treemap
Properties
widthNumber
The width of chart container.
heightNumber
The height of chart container.
dataKeyString | Number | Function
The key of a group of data which should be unique in a treemap.
DEFAULT:
"'value'"nameKeyString
The key of each sector's name.
DEFAULT:
"'name'"aspectRatioNumber
The treemap will try to keep every single rectangle's aspect ratio near the aspectRatio given.
DEFAULT:
1.618033988749895isAnimationActiveboolean | "auto"
If set false, animation of area will be disabled.
DEFAULT:
"auto"animationBeginNumber
Specifies when the animation should begin, the unit of this option is ms.
DEFAULT:
0animationDurationNumber
Specifies the duration of animation, the unit of this option is ms.
DEFAULT:
1500animationEasing'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'
The type of easing function.
DEFAULT:
"linear"onAnimationStartFunctionoptional
The customized event handler of animation start
onAnimationEndFunctionoptional
The customized event handler of animation end