Skip to content

Commit 5bc8537

Browse files
committed
Extracted title
1 parent e6c34e2 commit 5bc8537

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/js/columnChart.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const columnChart = () => {
1414
this.chart.destroy()
1515
}
1616

17-
const title = component.get('columnChartModel.title');
17+
const title = component.get('columnChartModel.title')
1818
const animated = component.get('columnChartModel.animated') || false;
1919
const onColumnClickEventName = component.get('columnChartModel.onColumnClickEventName')
2020
const dataLabels = component.get('columnChartModel.dataLabels') || {};
@@ -84,7 +84,7 @@ const columnChart = () => {
8484

8585
yaxis: {
8686
title: {
87-
text: component.get('columnChartModel.title'),
87+
text: title,
8888
}
8989
},
9090

0 commit comments

Comments
 (0)