PieChart

Parent Components

Child Components

Properties

  • widthNumber

    The width of chart container.

  • heightNumber

    The height of chart container.

  • marginObject

    The sizes of whitespace around the container.

    DEFAULT: { top: 0, right: 0, bottom: 0, left: 0 }

    FORMAT:

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

    The function will be called when click sectors of a pie chart.

  • onMouseEnterFunctionoptional

    The function will be called when mouse enter sectors of a pie chart.

  • onMouseLeaveFunctionoptional

    The function will be called when mouse leave sectors of a pie chart.

  • onDoubleClickFunctionoptional

    The customized event handler of dblclick in this chart.

  • onContextMenuFunctionoptional

    The customized event handler of contextmenu in this chart.