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

Respect thresholds in scaled months #365

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mkarrmann
Copy link

Description

See #364 for description. Ensures that the month graph's threshold parameter, even when circleColorByValue is also used.

Fixes #364

Note that I just raised that issue myself, and it appears that the behavior I'm removing was added intentionally. So, I'd understand if this PR is rejected (although I would be curious to hear why it behaves the way it does).

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • If this is a bug fix, did you add or update a test file to the examples directory that verifies the bug is fixed?

@@ -46,21 +46,23 @@ month:
```

### Colored by Values
Use parameter `circleColorByValue`, color the circles based on the values
Use parameters `circleColorByValue`, `yMin`, and `yMax`, to color the circles based on the values
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's worth emphasizing that you need to set all 3 of these in order for it to take effect.

@@ -6,7 +6,7 @@ bloodpressure: 177/119

#weight:70.0kg

#exercise-pushup:35
#exercise-pushup:5
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This date should now have no circle, because it is beneath the threshold.

@mkarrmann
Copy link
Author

mkarrmann commented Jun 3, 2024

@pyrochlore FYI. I'd be interested to hear your thoughts on this / the underlying issue.

P.S. thank you for the awesome project! Both very neat and useful!

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

Successfully merging this pull request may close these issues.

Threshold is Ignored in Month Graphs When Using Scaled Colors
1 participant