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

Merged
merged 4 commits into from
Jan 5, 2025

Conversation

mkarrmann
Copy link
Contributor

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
Contributor 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
Contributor 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.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I see it circled when I test your branch locally

Copy link
Collaborator

Choose a reason for hiding this comment

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

The issue is that you have to update all of the 2021-01-05 files to handle for all the various date formats. When I update 2021-01-05.md, the test works

@mkarrmann
Copy link
Contributor 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!

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

#weight:70.0kg

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

Choose a reason for hiding this comment

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

I see it circled when I test your branch locally

@lazyguru lazyguru merged commit c4bdac4 into pyrochlore:master Jan 5, 2025
@lazyguru
Copy link
Collaborator

lazyguru commented Jan 5, 2025

I applied the missing fixes. Thanks for your contribution

@mkarrmann
Copy link
Contributor Author

@lazyguru TY so much!

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
2 participants