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

Dataset lineTension is an Integer but in Line tension is a Number reflecting expected range of 0 .. 1.0 #198

Open
chrisco484 opened this issue Jul 23, 2024 · 0 comments

Comments

@chrisco484
Copy link

chrisco484 commented Jul 23, 2024

When trying out the ChartJS examples one realizes that the only 'rational' (pardon the pun) values of line tension are rational numbers between 0.0 and 1.0.

The Line class stores tension as a Java Number which will support rational numbers however when setting line tension from the Dataset object via setLineTension(Integer tension) we are only able to set integer values meaning we can not specify any value in the 0 .. 1.0 range except for exactly 0 or 1.

Is this intentional and I have misunderstood how to use it properly or is this an issue?

BTW - I'm using it with Wicket 7.x

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

No branches or pull requests

1 participant