Skip to content

Stacked bar charts display NaN when value is 0 and stackType is 100% #669

@drummad

Description

@drummad

When using the following chart options a large "NaN" is displayed in place of the bar when the data in the series array is 0. The "NaN" disappears when the stackType option is removed so potentially a divide by 0 error.

{ height: 450, type: 'bar', stacked: true, stackType: '100%' }"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions