Closed kanziekan closed 2 years ago
same problem. Have you figured out how to do this? Mine is always showing a full-year blank graph..
what operating system are you guys using? can you console.log the results of dv.pages?
also, do you have the latest version of both obsidian and heatmap?
what operating system are you guys using? can you console.log the results of dv.pages?
I use Windows 10 and I'm not sure how to do that, I'm not very strong with coding.
also, do you have the latest version of both obsidian and heatmap?
Yes I do have the latest version of both
Please try adding a dv.pagraph to your code like below, and check if it prints out anything
for(let page of dv.pages('"#-Journal"').where(p=>p.mood)){
dv.paragraph(page.file.name + " Mood: " + page.mood)
calendarData.entries.push({
date: page.file.name,
intensity: page.mood,
})
}
It unfortunately still doesn't change anything. Maybe there is something in my settings? I've enabled Javascript Queries for Dateview.
I experienced this issue too. I fixed it by changing '"#-Journal"'
section to '#-Journal'
. Basically removed the double quotes from around the hash-tag.
I experienced this issue too. I fixed it by changing
'"#-Journal"'
section to'#-Journal'
. Basically removed the double quotes from around the hash-tag.
That alone didn't work for me...
BUT I figured out the problem, it had to do with the emoji I was using combined with removing the double quotes. So thank you @Azurewren !
I've been having issues getting the heatmap plugin to work. My daily notes are in the date format: YYYY-MM-DD so I'm confused as to why it's not working
Nothing shows. I use a Windows 10 computer.