fix:修改topologo 折线图显示的问题
This commit is contained in:
@@ -979,10 +979,10 @@ export default {
|
|||||||
id: 'stackArea',
|
id: 'stackArea',
|
||||||
name: this.$t('dashboard.panel.chartForm.typeVal.stackArea.label')
|
name: this.$t('dashboard.panel.chartForm.typeVal.stackArea.label')
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
id: 'bar',
|
// id: 'bar',
|
||||||
name: this.$t('dashboard.panel.chartForm.typeVal.bar.label')
|
// name: this.$t('dashboard.panel.chartForm.typeVal.bar.label')
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
id: 'table',
|
id: 'table',
|
||||||
name: this.$t('dashboard.panel.chartForm.typeVal.table.label')
|
name: this.$t('dashboard.panel.chartForm.typeVal.table.label')
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
<div class="tooltip-box-chart" style="" v-if="isChart||(chartData.displayChart&&chartData.tooltipShow&&chartData.expressArr.length)">
|
<div class="tooltip-box-chart" style="" v-if="isChart||(chartData.displayChart&&chartData.tooltipShow&&chartData.expressArr.length)">
|
||||||
<line-chart-block v-show="isChart || chartData.type !== 'table'"
|
<line-chart-block v-show="isChart || chartData.type !== 'table'"
|
||||||
:key="'inner' + chartData.id"
|
:key="'inner' + chartData.id"
|
||||||
|
id="listContainer"
|
||||||
:from="'project'"
|
:from="'project'"
|
||||||
:ref="chartData.type !== 'table'?'editChart' + chartData.type:'editChart'"
|
:ref="chartData.type !== 'table'?'editChart' + chartData.type:'editChart'"
|
||||||
:temp-dom="tempDom"
|
:temp-dom="tempDom"
|
||||||
@@ -61,7 +62,7 @@ export default {
|
|||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
tempDom: { height: 400, width: '' },
|
tempDom: { height: 400, width: '' },
|
||||||
chartDataTemp: { id: 8832, prev: null, next: null, panelId: 0, title: '123', span: 12, height: 400, createAt: '2021-01-27 07:36:19', unit: 2, weight: 0, pid: null, buildIn: null, seq: null, param: { last: 0, legendValue: { total: 'off', min: 'off', avg: 'off', last: 'off', max: 'off' }, threshold: '', url: '', nullType: 'connected' }, sync: null, asset: null, isLoaded: true, from: '__vue_devtool_undefined__', draggable: true, resizable: true, editable: true },
|
chartDataTemp: { id: 8832, prev: null, next: null, panelId: 0, title: '123', span: 12, height: 12, createAt: '2021-01-27 07:36:19', unit: 2, weight: 0, pid: null, buildIn: null, seq: null, param: { last: 0, legendValue: { total: 'off', min: 'off', avg: 'off', last: 'off', max: 'off' }, threshold: '', url: '', nullType: 'connected' }, sync: null, asset: null, isLoaded: true, from: '__vue_devtool_undefined__', draggable: true, resizable: true, editable: true },
|
||||||
chartData: {},
|
chartData: {},
|
||||||
filter: {
|
filter: {
|
||||||
end_time: bus.timeFormate(bus.getOffsetTimezoneData(), 'yyyy-MM-dd hh:mm:ss'),
|
end_time: bus.timeFormate(bus.getOffsetTimezoneData(), 'yyyy-MM-dd hh:mm:ss'),
|
||||||
|
|||||||
Reference in New Issue
Block a user