Skip to content

Thresholds with decimal values #66

@nguyenhoangnamkg

Description

@nguyenhoangnamkg

Your library is very nice. Thank you for supporting the community.
I have an issue is that when I change the threshold value to decimal, it does not work as expected.

vm.thresholds = {
'0': {color: 'green'},
'8': {color: "orange"},
'20.05': {color: 'yellow'},
'30.05': {color: 'coral'},
'80': {color: 'red'}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions