diff --git a/app/templates/reports/index.html b/app/templates/reports/index.html index 36aeb8f..4f83d89 100644 --- a/app/templates/reports/index.html +++ b/app/templates/reports/index.html @@ -253,7 +253,7 @@ const fmtCur = v => sym + Math.abs(v).toLocaleString(undefined, {minimumFraction data: { labels: {{ nw_history.labels | tojson }}, datasets: [ - { label:'Net Worth', data: {{ nw_history.values | tojson }}, borderColor:'#3b82f6', backgroundColor:'#3b82f611', borderWidth:2, pointRadius:3, tension:.3, fill:true }, + { label:'Net Worth', data: {{ nw_history['values'] | tojson }}, borderColor:'#3b82f6', backgroundColor:'#3b82f611', borderWidth:2, pointRadius:3, tension:.3, fill:true }, { label:'Assets', data: {{ nw_history.assets | tojson }}, borderColor:'#10b981', borderWidth:1.5, pointRadius:2, tension:.3, fill:false, borderDash:[4,3] }, ] },