From e4cb9141a456bbedc4f0e173bc1d912f33846043 Mon Sep 17 00:00:00 2001
From: enahum <nahumhbl@gmail.com>
Date: Mon, 30 May 2016 09:44:32 -0300
Subject: PLT-3051 Fix broken site statistics (#3143)

---
 webapp/components/analytics/line_chart.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webapp/components/analytics/line_chart.jsx')

diff --git a/webapp/components/analytics/line_chart.jsx b/webapp/components/analytics/line_chart.jsx
index f45e7f5fa..bebeb0223 100644
--- a/webapp/components/analytics/line_chart.jsx
+++ b/webapp/components/analytics/line_chart.jsx
@@ -42,7 +42,7 @@ export default class LineChart extends React.Component {
         }
         var el = ReactDOM.findDOMNode(this.refs.canvas);
         var ctx = el.getContext('2d');
-        this.chart = new Chart(ctx).Line(this.props.data, this.props.options || {}); //eslint-disable-line new-cap
+        this.chart = new Chart(ctx, {type: 'line', data: this.props.data, options: this.props.options || {}}); //eslint-disable-line new-cap
     }
 
     render() {
-- 
cgit v1.2.3-1-g7c22

