size property

dynamic size

Implementation

external dynamic
    /*{
      /**
       * The desired width of the chart element.
       * If this option is not specified, the width of the chart will be calculated by the size of the parent element it's appended to.
       * Note: This option should be specified if possible because it can improve its performance because some size calculations will be skipped by an explicit value.
       */
      width?: number;
      /**
       * The desired height of the chart element.
       * If this option is not specified, the height of the chart will be calculated by the size of the parent element it's appended to.
       */
      height?: number;
  }*/
    get size;
void size=(dynamic v)

Implementation

external set size(
    dynamic
        /*{
      /**
       * The desired width of the chart element.
       * If this option is not specified, the width of the chart will be calculated by the size of the parent element it's appended to.
       * Note: This option should be specified if possible because it can improve its performance because some size calculations will be skipped by an explicit value.
       */
      width?: number;
      /**
       * The desired height of the chart element.
       * If this option is not specified, the height of the chart will be calculated by the size of the parent element it's appended to.
       */
      height?: number;
  }*/
        v);