Curious about Obsidian tracker plugin #465
rohanbatraio
started this conversation in
General
Replies: 4 comments 3 replies
-
this is the plugin specifically i am indicating about |
Beta Was this translation helpful? Give feedback.
0 replies
-
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.
0 replies
-
That looks awesome and just works kinda workflow, surely gonna try your approach. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I am curious, do you extract information out of obsidian? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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