Curious about Obsidian tracker plugin #465
Replies: 4 comments 3 replies
-
this is the plugin specifically i am indicating about |
Beta Was this translation helpful? Give feedback.
-
I recommend by far Obsidian Charts instead of tracker if you have knowledge of javascript. This is my actual daily tracker of working hours. The day was as good as big is the dot //dataviewjs block
const { DateTime, Duration } = luxon
const dvData = dv.pages('"📔 Mi diario"');
const uniqueStatus = [...new Set(dvData.Status)];
const data = [];
dvData.forEach(d=>{
if(d.RealWorkHours){
const datetime = DateTime.fromFormat(d.file.name, 'yyyy-MM-dd');
const daysFromNow = datetime.diffNow("days").toFormat("d")*(-1);
let radius = 1;
if(d.GoalAchieved){radius+=2}
if(d.GoingOut){radius+=2}
radius+=d.file.tasks.completed.length;
const daily={
x: daysFromNow,
y: d.RealWorkHours.hours,
r: radius
};
data.push(daily);
}
});
const datasets = {
datasets: [{
label: 'Working Hours',
data: data,
backgroundColor: 'rgb(255, 99, 132)'
}]
};
const chartData = {
label: 'Working Hours',
type: 'bubble',
data: datasets,
backgroundColor: 'rgb(255, 99, 132)',
options: {}
}
window.renderChart(chartData, this.container); |
Beta Was this translation helpful? Give feedback.
-
That looks awesome and just works kinda workflow, surely gonna try your approach. |
Beta Was this translation helpful? Give feedback.
-
I am curious, do you extract information out of obsidian? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there anyone who is using Db folder + obsidian tracker plugin together, If yes then i am curious how do you track YAML data in obsidian tracker. Would love to see your examples. I am facing a learning curve here.
Beta Was this translation helpful? Give feedback.
All reactions