UNPKG

realchart-vue

Version:

Wooritech realchart vue component library

30 lines (29 loc) 1.11 kB
import { default as RealChart, Chart, ChartConfiguration, LoadCallbackArgs } from 'realchart'; import { Ref } from 'vue'; export interface RealChartProps { /** RealChart 모듈 */ realchart: typeof RealChart; /** 차트 DOM id (기본: "realchart") */ id?: string; /** 차트 너비 (기본: 100%) */ w?: string; /** 차트 높이 (기본: 100%) */ h?: string; /** 차트 설정 */ config: ChartConfiguration; /** 애니메이션 사용 여부 (기본: true) */ animate?: boolean; onChartLoaded?: (args: LoadCallbackArgs) => void; } export interface RealChartVueRef { realchart: Ref<Chart | null>; } declare const _default: import('vue').DefineComponent<RealChartProps, { realchart: Ref<Chart | null>; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RealChartProps> & Readonly<{}>, { animate: boolean; id: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { elRef: HTMLDivElement; }, HTMLDivElement>; export default _default;