background property

dynamic background

Set chart background.

Implementation

external dynamic
    /*{
  /**
   * Specify the class name for background element.
   */
  class?: string;

  /**
   * Specify the fill color for background element. (NOTE: Will be ignored if `imgUrl` option is set.)
   */
  color?: string;

  /**
   * Specify the image url string for background.
   */
  imgUrl?: string;
}*/
    get background;
void background=(dynamic v)

Implementation

external set background(
    dynamic
        /*{
  /**
   * Specify the class name for background element.
   */
  class?: string;

  /**
   * Specify the fill color for background element. (NOTE: Will be ignored if `imgUrl` option is set.)
   */
  color?: string;

  /**
   * Specify the image url string for background.
   */
  imgUrl?: string;
}*/
        v);