pie property

dynamic get pie

Implementation

external dynamic
    /*{
      label?: {
          /**
           * Show or hide label on each pie piece.
           */
          show?: boolean;
          /**
           * Set formatter for the label on each pie piece.
           */
          format?(value: number, ratio: number, id: string): string;
          /**
           * Set threshold to show/hide labels.
           */
          threshold?: number
      };
      /**
       * Enable or disable expanding pie pieces.
       */
      expand?: boolean;
  }*/
    get pie;
set pie (dynamic v)

Implementation

external set pie(
    dynamic
        /*{
      label?: {
          /**
           * Show or hide label on each pie piece.
           */
          show?: boolean;
          /**
           * Set formatter for the label on each pie piece.
           */
          format?(value: number, ratio: number, id: string): string;
          /**
           * Set threshold to show/hide labels.
           */
          threshold?: number
      };
      /**
       * Enable or disable expanding pie pieces.
       */
      expand?: boolean;
  }*/
        v);