UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

8 lines (7 loc) 304 B
import type { SunburstOptions } from '@visactor/vgrammar-hierarchy'; import type { Datum } from '../../typings'; export interface ISunburstOpt extends SunburstOptions { width: number; height: number; } export declare const sunburstLayout: (data: Array<Datum>, op: () => ISunburstOpt) => Datum[];