pyrochlore / obsidian-tracker

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

Graph doesnt show lines between datapoints #361

Open Nitaro209 opened 6 months ago

Nitaro209 commented 6 months ago

Expected Behavior

Graph shows line between two or more point

Current Behavior

Only points are displayed without lines

Possible Solution

Steps to Reproduce (for bugs)

searchType: Tag
searchTarget: Std-One, Std-Two
datasetName: One, Two
folder: Folder1/Folder2
line:
    title: Test
    lineColor: blue, red
    yAxisLabel: Stunden
    xAxisLabel: Datum
    showPoint: false
    showLegend: true
    legendPosition: bottom

Context

test

Dev1994 commented 5 months ago

Hi @Nitaro209. I also had this issue but figured out that the lines only appear for consecutive data points. You need to enable filling gaps in the line chart. See here.

Example:

searchType: frontmatter
searchTarget: cycling
folder: Journaling/Weekly
fitPanelWidth: true
line:
    title: Cycling
    yAxisUnit: km
    xAxisLabel: Week
    fillGap: true
Nitaro209 commented 5 months ago

It works ! Thank you very much !

Nitaro209 commented 5 months ago

resolved