Skip to content

Commit 882bdd8

Browse files
committed
✏️ Remove generateLegend() from initialization codes
1 parent 4f7dda3 commit 882bdd8

File tree

9 files changed

+0
-9
lines changed

9 files changed

+0
-9
lines changed

src/BaseCharts/Bar.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ export default Vue.extend({
7575
plugins: this.plugins
7676
}
7777
)
78-
this._chart.generateLegend()
7978
}
8079
},
8180
beforeDestroy () {

src/BaseCharts/Bubble.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ export default Vue.extend({
7676
plugins: this.plugins
7777
}
7878
)
79-
this._chart.generateLegend()
8079
}
8180
},
8281
beforeDestroy () {

src/BaseCharts/Doughnut.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ export default Vue.extend({
5959
plugins: this.plugins
6060
}
6161
)
62-
this._chart.generateLegend()
6362
}
6463
},
6564
beforeDestroy () {

src/BaseCharts/HorizontalBar.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ export default Vue.extend({
7575
plugins: this.plugins
7676
}
7777
)
78-
this._chart.generateLegend()
7978
}
8079
},
8180
beforeDestroy () {

src/BaseCharts/Line.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export default Vue.extend({
7474
plugins: this.plugins
7575
}
7676
)
77-
this._chart.generateLegend()
7877
}
7978
},
8079
beforeDestroy () {

src/BaseCharts/Pie.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ export default Vue.extend({
5959
plugins: this.plugins
6060
}
6161
)
62-
this._chart.generateLegend()
6362
}
6463
},
6564
beforeDestroy () {

src/BaseCharts/PolarArea.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ export default Vue.extend({
5959
plugins: this.plugins
6060
}
6161
)
62-
this._chart.generateLegend()
6362
}
6463
},
6564
beforeDestroy () {

src/BaseCharts/Radar.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ export default Vue.extend({
5959
plugins: this.plugins
6060
}
6161
)
62-
this._chart.generateLegend()
6362
}
6463
},
6564
beforeDestroy () {

src/BaseCharts/Scatter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ export default Vue.extend({
6565
plugins: this.plugins
6666
}
6767
)
68-
this._chart.generateLegend()
6968
}
7069
},
7170
beforeDestroy () {

0 commit comments

Comments
 (0)