Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[charts] Handle undefined scale value #10942

Open
alexfauquette opened this issue Nov 8, 2023 · 0 comments
Open

[charts] Handle undefined scale value #10942

alexfauquette opened this issue Nov 8, 2023 · 0 comments
Labels
component: charts This is the name of the generic UI component, not the React module! dx Related to developers' experience typescript

Comments

@alexfauquette
Copy link
Member

alexfauquette commented Nov 8, 2023

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:

@alexfauquette alexfauquette added typescript dx Related to developers' experience component: charts This is the name of the generic UI component, not the React module! labels Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: charts This is the name of the generic UI component, not the React module! dx Related to developers' experience typescript
Projects
None yet
Development

No branches or pull requests

1 participant