Skip to content

getConvertPictureUrl(includeOverlay?, type?, backgroundColor?) ​

getConvertPictureUrl get the image URL after the chart is converted into an image.

Reference ​

typescript
(
  includeOverlay?: boolean,
  type?: 'png' | 'jpeg' | 'bmp',
  backgroundColor?: string
) => string

Parameters ​

  • includeOverlay Whether to include the overlay lever.
  • type The converted image type supports png , jpeg and bmp, the default is jpeg .
  • backgroundColor Background color, default is #FFFFFF .

Returns ​

getConvertPictureUrl returns string .

Usage ​

Basic usage ​