UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

11 lines (10 loc) 695 B
import type { IPolarAxisSpec } from '../../component/axis/polar/interface'; import type { IGaugePointerSeriesSpec, IGaugeSeriesSpec } from '../../series/gauge/interface'; import type { ILinearAxisSpec } from '../../component/axis/interface'; import type { ICircularProgressSeriesSpec } from '../../series/progress/circular/interface'; import type { IPolarChartSpec } from '../polar/interface'; export interface IGaugeChartSpec extends Omit<IPolarChartSpec, 'axes'>, Omit<IGaugePointerSeriesSpec, 'data' | 'type' | 'morph' | 'tooltip'> { type: 'gauge'; gauge?: Omit<IGaugeSeriesSpec, 'data'> | Omit<ICircularProgressSeriesSpec, 'data'>; axes?: (IPolarAxisSpec | ILinearAxisSpec)[]; }