---
<%* moment.locale("de") -%>
<%* tp.file.rename(tp.date.now("YYYY-MM")) -%>
cssclasses: monthly
tags: monthly, <% tp.file.creation_date('MMMM').toLowerCase() %>
cssclasses: monthly
monthly score:
---
[[<% tp.date.now("YYYY-MM", -30) %>|<Letztes Monat]] | | [[<% tp.date.now("YYYY-MM", +30) %>|Nächstes Monat>]]
# Daily Scores
```dataviewjs
let pages = dv.pages('"Daily Notes/<%tp.date.now("YYYY")%>/<%tp.date.now("YYYY-MM")%>"');
let dailyNotes = pages.filter((page) => page.file.name.contains("Daily Note "))
let files = dailyNotes.map(note=> note.file)
let dataPoints = files.map(file => {
let label = file.name.replace("Daily Note ", "");
let value = file.frontmatter["daily score"];
return {"label": dv.parse(label), "value": value}
}).filter(point => point.value != null)
let labels = dataPoints.map(point => point.label).values
let values = dataPoints.map(point => point.value).values
const chartData = {
type:'line',
data: {
labels: labels,
datasets:[{data: values, label: 'Daily Score', backgroundColor: ['red']}]}};
window.renderChart(chartData, this.container);
```
```dataview
List daily-score from "Daily Notes/<%tp.date.now("YYYY")%>/<%tp.date.now("YYYY-MM")%>"
WHERE length(file.name) > 7
SORT file.ctime asc
```
# Daily Notes
- <% tp.file.cursor() %>
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}