Treemap

Parent Components

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.

  • isAnimationActiveBoolean

    If set false, animation of area will be disabled.

    DEFAULT: true

  • animationBeginNumber

    Specifies when the animation should begin, the unit of this option is ms.

    DEFAULT: 0

  • animationDurationNumber

    Specifies the duration of animation, the unit of this option is ms.

    DEFAULT: 1500

  • animationEasing'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'

    The type of easing function.

    DEFAULT: 'ease'

  • onAnimationStartFunctionoptional

    The customized event handler of animation start

  • onAnimationEndFunctionoptional

    The customized event handler of animation end