UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

12 lines (11 loc) 341 B
import { CompositeMarkComponent as CC } from '../runtime'; import { GaugeMark } from '../spec'; export type GaugeData = { target?: number; total?: number; percent?: number; name?: string; thresholds?: number[]; } | number; export type GaugeOptions = Omit<GaugeMark, 'type'>; export declare const Gauge: CC<GaugeOptions>;