NEZ-951 fix: 修改柱状图 全屏图例名称
This commit is contained in:
@@ -617,6 +617,7 @@ export default {
|
|||||||
self.$refs.pieChartScreen.style.height = `${sumHeight - divHeight - 58}px`
|
self.$refs.pieChartScreen.style.height = `${sumHeight - divHeight - 58}px`
|
||||||
self.echartScreen.resize({ height: (sumHeight - divHeight - 58) })// 图表的高度
|
self.echartScreen.resize({ height: (sumHeight - divHeight - 58) })// 图表的高度
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
self.$set(self.option.tooltip, 'formatter', self.formatterFunc)
|
||||||
if (self.pieData[0].data.length > 0) {
|
if (self.pieData[0].data.length > 0) {
|
||||||
self.echartScreen.setOption(self.option)// 显示全屏界面
|
self.echartScreen.setOption(self.option)// 显示全屏界面
|
||||||
self.noData = false
|
self.noData = false
|
||||||
|
|||||||
Reference in New Issue
Block a user