显示数据格式

    父组件

    Properties

    图表的宽度。

    • Number

    图表的高度。

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

    • Number

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

    当值为 false,不开启动画。

    默认值:true

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

    • Number

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

    默认值:1500

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

    动画缓动函数的类型。

    默认值:'ease'

    • Function optional

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