uni-echarts
Version:
🪀 适用于uni-app的Apache ECharts组件(仅支持Vue 3)
23 lines (21 loc) • 530 B
TypeScript
import type { Ref } from "vue";
import type { EChartsType } from "../components/uni-echarts/types";
import type { NullableValue } from "../types";
export type PublicApi = Pick<
EChartsType,
"getWidth" |
"getHeight" |
"getDom" |
"getOption" |
"dispatchAction" |
"convertToPixel" |
"convertFromPixel" |
"containPixel" |
"getDataURL" |
"getConnectedDataURL" |
"appendData" |
"clear" |
"isDisposed" |
"dispose"
>;
export declare function usePublicApi(chart: Ref<NullableValue<EChartsType>>): PublicApi;