Open corataine opened 1 year ago
Same issue here. Did u found any fix?
Same
Do we vote here? +1
The reason you see no alcohol activity is because the year is set to 2023, and there is no alcohol activity in 2023. If you set it to 2022, you will see the normal heatmap.
dv.span("**🍺 Alcohol Consumption 🍺**")
const calendarData = {
year: 2022,
colors: {
blue: ["#ffdf04","#ffbe04","#ff9a03","#ff6d02","#ff2c01"]
},
entries: [],
showCurrentDayBorder: false
}
for(let page of dv.pages('"daily notes"').where(p=>p.alcohol)){
calendarData.entries.push({
date: page.file.name,
intensity: page.alcohol,
content: await dv.span(`[](${page.file.name})`), //for hover preview
})
}
renderHeatmapCalendar(this.container, calendarData)
Just for context, here is the output
Thanks got it workingSent from my iPhoneOn Apr 29, 2023, at 3:00 PM, John Bucknam @.***> wrote: Just for context, here is the output
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
Hi! I download the EXAMPLE_VAULT code. And I didn't change anything.But Cells are not showing,I cant find any bug.![image](https://user-images.githubusercontent.com/63156015/230154699-545a0ba9-da5c-4253-bb08-ed1a7bfcb542.png)