diff --git a/src/app/pages/dashboard/lineChart/lineChart.component.ts b/src/app/pages/dashboard/lineChart/lineChart.component.ts
index 04282d87..d866d747 100644
--- a/src/app/pages/dashboard/lineChart/lineChart.component.ts
+++ b/src/app/pages/dashboard/lineChart/lineChart.component.ts
@@ -26,10 +26,10 @@ export class LineChart {
};
chart.addListener('rendered', zoomChart);
- // zoomChart();
- //
- // if (chart.zoomChart) {
- // chart.zoomChart();
- // }
+ zoomChart();
+
+ if (chart.zoomChart) {
+ chart.zoomChart();
+ }
}
}
diff --git a/src/app/pages/dashboard/lineChart/lineChart.html b/src/app/pages/dashboard/lineChart/lineChart.html
index 143e219e..d644b3aa 100644
--- a/src/app/pages/dashboard/lineChart/lineChart.html
+++ b/src/app/pages/dashboard/lineChart/lineChart.html
@@ -1 +1 @@
-
+
diff --git a/src/app/pages/dashboard/lineChart/lineChart.scss b/src/app/pages/dashboard/lineChart/lineChart.scss
index e63e4b15..19ed4742 100644
--- a/src/app/pages/dashboard/lineChart/lineChart.scss
+++ b/src/app/pages/dashboard/lineChart/lineChart.scss
@@ -1,4 +1,4 @@
-#amchart {
+.dashboard-line-chart {
width: 100%;
height: 350px;
margin-top: -20px;
diff --git a/src/app/pages/dashboard/lineChart/lineChart.service.ts b/src/app/pages/dashboard/lineChart/lineChart.service.ts
index 7cf5e296..bfef803c 100644
--- a/src/app/pages/dashboard/lineChart/lineChart.service.ts
+++ b/src/app/pages/dashboard/lineChart/lineChart.service.ts
@@ -9,6 +9,9 @@ export class LineChartService {
theme: 'blur',
marginTop: 15,
marginRight: 15,
+ responsive: {
+ "enabled": true
+ },
dataProvider: [
{ date: new Date(2012, 11), value: 0, value0: 0 },
{ date: new Date(2013, 0), value: 15000, value0: 19000},