[charts] Handle undefined scale value #10942
Labels
component: charts
This is the name of the generic UI component, not the React module!
dx
Related to developers' experience
typescript
In #10597 I updated the typescript definition of scales.
It reveals one issue: If an axis uses the band or point scale type, its scale could return undefined if the value is not in the defined domain.
This case is not supported yet. We should at least return an error message
Search keywords:
The text was updated successfully, but these errors were encountered: