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 for Bigints (on the y-axis) #11952

Open
vbackeberg opened this issue Nov 13, 2024 · 1 comment
Open

Support for Bigints (on the y-axis) #11952

vbackeberg opened this issue Nov 13, 2024 · 1 comment

Comments

@vbackeberg
Copy link

Feature Proposal

I am dealing with 64-bit unsigned Integers and would like to plot them on a line chart.

As far as I have understood, Chartjs Points can only deal with numbers which is limited to 2*53 without precision loss.

Do you have any plans to support bigints in the future?

Possible Implementation

No response

@LeeLenaleee
Copy link
Collaborator

I don't have a direct answer for you.

But you can always look at the source of the scale and use it to implement your own custom scale that does support big ints:
https://www.chartjs.org/docs/4.4.6/developers/axes.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants