PieChart

父组件

子组件

Properties

  • widthNumber

    图表的宽度。

  • heightNumber

    图表的高度。

  • marginObject

    图表四周的留白大小,支持传入部分值(如: { top: 5 })

    默认值:{ top: 0, right: 0, bottom: 0, left: 0 }

    格式:

    { top: 5, right: 5, bottom: 5, left: 5 }
  • onClickFunctionoptional

    饼图每个楔子的 click 事件的回调函数,如果当子组件 Pie 上也绑定了同样的事件,子组件的事件回调函数才会被绑定。

  • onMouseEnterFunctionoptional

    饼图每个楔子的 mouseenter 事件的回调函数,如果当子组件 Pie 上也绑定了同样的事件,子组件的事件回调函数才会被绑定。

  • onMouseLeaveFunctionoptional

    饼图每个楔子的 mouseleave 事件的回调函数,如果当子组件 Pie 上也绑定了同样的事件,子组件的事件回调函数才会被绑定。

  • onDoubleClickFunctionoptional

    The customized event handler of dblclick in this chart.

  • onContextMenuFunctionoptional

    The customized event handler of contextmenu in this chart.