(chart: Chart<TType, TData, TLabel>, nextOptions: ChartOptions<TType>)
| 21 | } |
| 22 | |
| 23 | export function setOptions< |
| 24 | TType extends ChartType = ChartType, |
| 25 | TData = DefaultDataPoint<TType>, |
| 26 | TLabel = unknown, |
| 27 | >(chart: Chart<TType, TData, TLabel>, nextOptions: ChartOptions<TType>) { |
| 28 | const options = chart.options; |
| 29 | |
| 30 | if (options && nextOptions) { |
| 31 | Object.assign(options, nextOptions); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | export function setLabels< |
| 36 | TType extends ChartType = ChartType, |
no outgoing calls
no test coverage detected
searching dependent graphs…