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

Chart Vertical Axis Label #465

Open
desmondbaldwin opened this issue Jun 30, 2020 · 3 comments
Open

Chart Vertical Axis Label #465

desmondbaldwin opened this issue Jun 30, 2020 · 3 comments

Comments

@desmondbaldwin
Copy link

desmondbaldwin commented Jun 30, 2020

I believe the Chart is calculating the first axis label incorrectly. My data values are as follows

S - 188
M - 200
T - 194
W - 192
T - 190
F - 190
S - 188

It seems that the chart is drawn according to the min and max values. if that's the case I believe the 1st vertical axis label should be "194" , rather than 100 (in my example below). I tested with other values and it seems that the first label is simply 1/2 of the max value when it should be the mid point between the max and min values.

Screen Shot 2020-06-30 at 12 36 55 AM

@erik-apple
Copy link
Collaborator

Thanks for reporting this Desmond!
Can you confirm which commit you have checked out?

Is this on a version of CareKit from before or after we merged #449?

@desmondbaldwin
Copy link
Author

I have the most recent stable branch.

@erik-apple
Copy link
Collaborator

Can you try checking out a recent commit from master?
We recently made a change that might fix your issue, but it hasn’t made it into a stable release yet.

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