bar property

dynamic get bar

Implementation

external dynamic
    /*{
      /**
       * Change the width of bar chart. If ratio is specified, change the width of bar chart by ratio.
       */
      width?: number | {
          /**
           * Set the width of each bar by ratio
           */
          ratio: number,
          /**
           * Set max width of each bar
           */
          max?: number
      };
      /**
       * Set if min or max value will be 0 on bar chart.
       */
      zerobased?: boolean;
      /**
       * Set space between bars in bar charts
       */
      space?: number;
  }*/
    get bar;
set bar (dynamic v)

Implementation

external set bar(
    dynamic
        /*{
      /**
       * Change the width of bar chart. If ratio is specified, change the width of bar chart by ratio.
       */
      width?: number | {
          /**
           * Set the width of each bar by ratio
           */
          ratio: number,
          /**
           * Set max width of each bar
           */
          max?: number
      };
      /**
       * Set if min or max value will be 0 on bar chart.
       */
      zerobased?: boolean;
      /**
       * Set space between bars in bar charts
       */
      space?: number;
  }*/
        v);