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

Support Custom D3 Scales #328

Open
fmmattioni opened this issue Aug 9, 2024 · 1 comment
Open

Support Custom D3 Scales #328

fmmattioni opened this issue Aug 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@fmmattioni
Copy link

Question

Would it be possible to define our own d3 scales? I see that the xScale and yScale properties are omitted in the axis options:

axisOptions?: Partial<Omit<AxisProps<RawData, XK, YK>, "xScale" | "yScale">>;

This would help a lot in customising the charts.

Thanks!

@carbonrobot carbonrobot added the enhancement New feature or request label Aug 15, 2024
@carbonrobot carbonrobot changed the title Define scales Support Custom D3 Scales Aug 15, 2024
@zibs
Copy link
Contributor

zibs commented Aug 15, 2024

It's true, it looks like we only support ScaleLinear internally currently. We're always open to PRs from the community, otherwise, this could be something we look into eventually!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants