mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 12:46:36 +08:00
21
types/echarts/index.d.ts
vendored
21
types/echarts/index.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
// Type definitions for echarts
|
||||
// Project: http://echarts.baidu.com/
|
||||
// Definitions by: Xie Jingyang <https://github.com/xieisabug>
|
||||
// Definitions by: Xie Jingyang <https://github.com/xieisabug>, AntiMoron <https://github.com/AntiMoron>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace ECharts {
|
||||
@@ -69,6 +69,25 @@ declare namespace ECharts {
|
||||
isDisposed():boolean
|
||||
|
||||
dispose():void
|
||||
|
||||
// 转换逻辑点到像素
|
||||
convertToPixel(finder: {
|
||||
seriesIndex?: number,
|
||||
seriesId?: string,
|
||||
seriesName?: string,
|
||||
geoIndex?: number,
|
||||
geoId?: string,
|
||||
geoName?: string,
|
||||
xAxisIndex?: number,
|
||||
xAxisId?: string,
|
||||
xAxisName?: string,
|
||||
yAxisIndex?: number,
|
||||
yAxisId?: string,
|
||||
yAxisName?: string,
|
||||
gridIndex?: number,
|
||||
gridId?: string
|
||||
gridName?: string
|
||||
} | string, value: string|Array<any>): string|Array<any>
|
||||
}
|
||||
|
||||
interface EChartOption {
|
||||
|
||||
Reference in New Issue
Block a user