Merge pull request #15679 from AntiMoron/master

Update @types/echarts
This commit is contained in:
Ryan Cavanaugh
2017-04-18 00:32:35 -07:00
committed by GitHub

View File

@@ -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 {