diff --git a/src/core/echarts.ts b/src/core/echarts.ts index 89f810088b..ff53919477 100644 --- a/src/core/echarts.ts +++ b/src/core/echarts.ts @@ -238,6 +238,7 @@ export interface SetOptionOpts { export interface ResizeOpts { width?: number | 'auto', // Can be 'auto' (the same as null/undefined) height?: number | 'auto', // Can be 'auto' (the same as null/undefined) + devicePixelRatio?: number, animation?: AnimationOption silent?: boolean // by default false. };