Skip to content

Bar height will become very small when set many bars #17

@li2

Description

@li2

since the calculation of max value is the sum of total bars, thus cause bar height become very small when have many bars in the graph.

for (Bar p : points) {
    maxValue += p.getValue();
}
usableHeight * (p.getValue() / maxValue)

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