修改实时数据
This commit is contained in:
@@ -294,14 +294,13 @@ const init = () => {
|
|||||||
//循环渲染图表
|
//循环渲染图表
|
||||||
const refName = setChildRef(index)
|
const refName = setChildRef(index)
|
||||||
childRefs[refName] = ref(null) // 初始化ref
|
childRefs[refName] = ref(null) // 初始化ref
|
||||||
|
|
||||||
item.echartsData = {
|
item.echartsData = {
|
||||||
title: [
|
title:
|
||||||
{
|
{
|
||||||
left: '10%',
|
text: item.name
|
||||||
top: 0,
|
}
|
||||||
text: item.name
|
,
|
||||||
}
|
|
||||||
],
|
|
||||||
// grid: {
|
// grid: {
|
||||||
// top: '16%',
|
// top: '16%',
|
||||||
// bottom: '15%', //也可设置left和right设置距离来控制图表的大小
|
// bottom: '15%', //也可设置left和right设置距离来控制图表的大小
|
||||||
|
|||||||
Reference in New Issue
Block a user