diff options
Diffstat (limited to 'system/api/analytics/init.go')
-rw-r--r-- | system/api/analytics/init.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/api/analytics/init.go b/system/api/analytics/init.go index 8117f2a..3eccc13 100644 --- a/system/api/analytics/init.go +++ b/system/api/analytics/init.go @@ -132,7 +132,8 @@ func serve() { } } -// ChartData returns the map containing decoded javascript needed to chart 2 weeks of data by day +// ChartData returns the map containing decoded javascript needed to chart RANGE +// days of data by day func ChartData() (map[string]interface{}, error) { // set thresholds for today and the RANGE-1 days preceeding times := [RANGE]time.Time{} |