| 1 | interface ChartSpec { |
| 2 | type: ( |
| 3 | 'bar' | |
| 4 | 'horizontal-bar' | |
| 5 | 'horizontal-stacked-bar' | |
| 6 | 'line' | |
| 7 | 'map' | |
| 8 | 'parallel' | |
| 9 | 'scatterplot' | |
| 10 | 'stacked-area' | |
| 11 | 'stacked-bar' |
| 12 | ); |
| 13 | x?: string | string[]; |
| 14 | y?: string | string[]; |
| 15 | size?: string; |
| 16 | color?: string; |
| 17 | id?: string; |
| 18 | label?: string; |
| 19 | split?: string; |
| 20 | guide?: ChartGuide | ChartGuide[]; |
| 21 | settings?: ChartSettings; |
| 22 | dimensions?: { |
| 23 | [field: string]: { |
| 24 | type: 'category' | 'measure' | 'order'; |
| 25 | scale?: 'ordinal' | 'period' | 'time' | 'linear' | 'logarithmic'; |
| 26 | order?: string[]; |
| 27 | } |
| 28 | }; |
| 29 | plugins?: PluginObject[]; |
| 30 | data?: Object[]; |
| 31 | } |
| 32 | |
| 33 | interface ChartGuide { |
| 34 | x?: { |
nothing calls this directly
no outgoing calls
no test coverage detected