pyrochlore / obsidian-tracker

A plugin tracks occurrences and numbers in your notes
MIT License
1.36k stars 230 forks source link

Current month tracking #394

Open Scoubines opened 1 week ago

Scoubines commented 1 week ago

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