Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smallest value is shown as a blank bar #136

Closed
csmobile opened this issue Jan 30, 2015 · 1 comment
Closed

smallest value is shown as a blank bar #136

csmobile opened this issue Jan 30, 2015 · 1 comment

Comments

@csmobile
Copy link

In the current implementation of the JBBarChartView, the normalization of the data causes the lowest value in the data to be displayed as a blank bar. Setting the min and max values does not seem to fix this. Is there some way to make the lowest, non-zero value draw a small bar in the chart, rather than none?

@terryworona
Copy link
Collaborator

This is normal.

If you were to graph a set of data across a y-axis with it's origin at 0, and you had a value of 0 for one of the bars, it shouldn't show.

As a hack you could just normalize your data to add + 1 to each point while keeping the chart's minimumValue = 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants