obsidian-tracker icon indicating copy to clipboard operation
obsidian-tracker copied to clipboard

Changing Legend Titles on Line/Bar

Open hgrunwald opened this issue 1 year ago • 1 comments

I cannot seem to figure out how to edit the legend in each graph as every time I say showLegend: true, it gives me the legend but each color says "untitled". Any help would be amazing!

hgrunwald avatar Jul 17 '22 05:07 hgrunwald

You need to add datasetName for legends to change. Like below:

`searchType: dvField searchTarget: target1, target2

startDate: 2023-10-01 endDate: 2023-10-31

datasetName: target1_name, target2_name <-- change target1_name for whatever you like. line:`

yerch1982 avatar Oct 24 '23 05:10 yerch1982