Treemap

父组件

Properties

  • widthNumber

    图表的宽度。

  • heightNumber

    图表的高度。

  • dataKeyString | Number | Function

    指定 Treemap 展示的数值所对应的 key。

    默认值:'value'

  • nameKeyString

    "name" 属性对应的 key 。

    默认值:'name'

  • aspectRatioNumber

    宽高比。在生成 Treemap 的过程中,每个矩形都会尽量按照这个宽高比来生成。

  • isAnimationActiveBoolean

    当值为 false,不开启动画。

    默认值:true

  • animationBeginNumber

    声明组件挂载后,开始运行动画的间隔时长,单位为毫秒。

    默认值:0

  • animationDurationNumber

    声明动画的运行时长,单位为毫秒。

    默认值:1500

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

    动画缓动函数的类型。

    默认值:'ease'

  • onAnimationStartFunctionoptional

    区域图动画 start 事件的回调函数。

  • onAnimationEndFunctionoptional

    区域图动画 end 事件的回调函数。