Skip to content

Commit

Permalink
fixed charts error
Browse files Browse the repository at this point in the history
  • Loading branch information
c-darwin committed Mar 9, 2016
1 parent 3ce0e34 commit 31d4ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ <h3>{{.Lang.statistic_cash_requests}}</h3>
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Date', 'Promised amounts', 'DC'],
{{range $k, $data := .Charts}}
{{range $k, $data := .Chart}}
['{{$data.month}}/{{$data.day}}', {{$data.promised_amount}}, {{$data.dc}}],
{{end}}
]);
Expand Down

0 comments on commit 31d4ee5

Please sign in to comment.