Skip to content

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

@chrisco484

Description

@chrisco484

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions