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

Current month tracking #394

Open
Scoubines opened this issue Nov 17, 2024 · 1 comment
Open

Current month tracking #394

Scoubines opened this issue Nov 17, 2024 · 1 comment

Comments

@Scoubines
Copy link

Scoubines commented Nov 17, 2024

Hi,

I love this plugin a lot but I'm bumping into an issue. I know someone asked it some time ago but it didn't seem to solve it.
I can't find a way to make a "startDate: Beginning of THIS month" to endDate: "End of this current month" kind of thing.

Basically I have a weight tracker graph that I want to be only showing me current month weight inputs "Poids". Currently I couldn't only find relative parameters such -1M etc...which isn't what I am want.

Any ideas to make it?

Thank you!

Here is my code with > because of the >[!multi-column] snippet

[!INFO] ## Weight evolution for this month

searchType: frontmatter
searchTarget: Poids
folder: 5.Journal/01 Daily
startDate: 30
endDate: 0d
datasetName: Poids
aspectRatio: 2:1
fitPanelWidth: true
ignoreZeroValue: true

line:
  fillGap: true
  yAxisLocation: left
  yAxisLabelColor: yellow
  yAxisColor: ffcc99
  yAxisLabel: Poids
  yAxisLabelColor: yellow
  lineColor: '#ffcc99'
  yMin: 50 # Set minimum weight to 50 kg
  yMax: 70 # Set maximum weight to 70 kg
  lineWidth: 3
  pointSize: 4
  pointColor: '#ffcc99'
  pointBorderWidth: 0
  pointBorderColor: '#25D0F7'
  showLegend: false
@lazyguru
Copy link
Collaborator

lazyguru commented Jan 5, 2025

I believe you can solve this with relative dates? eg:

...
startDate: -1M
...

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