Skip to content

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

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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