Skip to content
Main Navigation 指南
图表API
实例API
Pro预览定制赞助
9.x 文档
8.x 文档

🇨🇳 简体中文

🇬🇧 English

🇨🇳 简体中文

🇬🇧 English

主题

Sidebar Navigation

getDom

getSize

setStyles

getStyles

setFormatter

getFormatter

setLocale

getLocale

setTimezone

getTimezone

setThousandsSeparator

getThousandsSeparator

setDecimalFold

getDecimalFold

setOffsetRightDistance

getOffsetRightDistance

setMaxOffsetLeftDistance

setMaxOffsetRightDistance

setLeftMinVisibleBarCount

setRightMinVisibleBarCount

setBarSpace

getBarSpace

setSymbol

getSymbol

setPeriod

getPeriod

setDataLoader

resetData

getDataList

getVisibleRange

createIndicator

overrideIndicator

getIndicators

removeIndicator

createOverlay

overrideOverlay

getOverlays

removeOverlay

setPaneOptions

getPaneOptions

setZoomEnabled

isZoomEnabled

setScrollEnabled

isScrollEnabled

scrollByDistance

scrollToRealTime

scrollToDataIndex

scrollToTimestamp

zoomAtCoordinate

zoomAtDataIndex

zoomAtTimestamp

convertToPixel

convertFromPixel

executeAction

subscribeAction

unsubscribeAction

getConvertPictureUrl

resize

页面导航

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

getConvertPictureUrl 获取图表转换成图片后的图片url。

参考 ​

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

参数 ​

  • includeOverlay 是否需要包含浮层。
  • type 转换后的图片类型,支持 png , jpeg 和 bmp ,默认为 jpeg 。
  • backgroundColor 背景色,默认为 #FFFFFF 。

返回值 ​

getConvertPictureUrl 返回 string 。

用法 ​

基本使用 ​

在 GitHub 上编辑此页面

最后更新于:

Pager
上一篇unsubscribeAction
下一篇resize

Released under the Apache License V2.

Copyright © 2018-2025 liihuu