( currentData: ChartData<TType, TData, TLabel>, nextLabels: TLabel[] | undefined )
| 33 | } |
| 34 | |
| 35 | export function setLabels< |
| 36 | TType extends ChartType = ChartType, |
| 37 | TData = DefaultDataPoint<TType>, |
| 38 | TLabel = unknown, |
| 39 | >( |
| 40 | currentData: ChartData<TType, TData, TLabel>, |
| 41 | nextLabels: TLabel[] | undefined |
| 42 | ) { |
| 43 | currentData.labels = nextLabels; |
| 44 | } |
| 45 | |
| 46 | export function setDatasets< |
| 47 | TType extends ChartType = ChartType, |
no outgoing calls
no test coverage detected
searching dependent graphs…