Skip to content

Divide by zero error on bar height with zero data #6

@chrisnof

Description

@chrisnof

Had to check if max was zero in using the graph on a stacked bar that could be empty for my implementation... in version 1.1

line 157:                fieldHeight = max == 0 ? 0 : (totalHeightBar * value) / max;

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