Closed EgnaroJQ closed 9 months ago
I think you can only use a single tracker per chart - you have to decide if you want to use a summary or a line chart. The summary displays a single line of text, no chart, so you can add the summary before (or after) the actual chart:
Summary:
searchType: frontmatter
searchTarget: Workout (min)
folder: 00 Diary
startDate: 2024-02-12
summary:
template: "Total: {{sum()}} hours"
Details:
searchType: frontmatter
searchTarget: Workout (min)
folder: 00 Diary
startDate: 2024-02-12
line:
title: Workout(min)
@stracker-phil is correct. You need to do 2 separate dataview blocks
I tried to add summary to a line graph but it failed to display. My code is as below:
Did I write something wrong? Or summary cannot show in a line graph?