+ v-if="processSummary.count !== processSummary.maxCount">
{
- if (this.processSummary.count < 6) {
+ if (this.processSummary.count < this.processSummary.maxCount) {
this.queryQueueInfo(this.connectQueueChart);
} else {
this.queryQueueInfo(this.connectQueueChart);
@@ -820,7 +821,6 @@ export default {
data.sample_interval
}ms`,
data: dataY.map((val, index) => index + 1),
- max: dataY.length,
},
yAxis: {
name: '',
@@ -855,6 +855,12 @@ export default {
});
},
highlight(key) {
+ if (
+ key === 'device_queue_op' &&
+ this.processSummary.count !== this.processSummary.maxCount
+ ) {
+ return;
+ }
const domList = document.querySelectorAll('.md-top *[clickKey]');
Array.prototype.forEach.call(domList, (dom) => {
if (dom.getAttribute('clickKey') === key) {
diff --git a/mindinsight/ui/src/views/train-manage/operator.vue b/mindinsight/ui/src/views/train-manage/operator.vue
index b06c62a46080c50424118e6a42a0d846365862de..9079db18b8ca95d3ad950e0208bb5b54b065c6e1 100644
--- a/mindinsight/ui/src/views/train-manage/operator.vue
+++ b/mindinsight/ui/src/views/train-manage/operator.vue
@@ -818,7 +818,7 @@ export default {
itemHeight: 18,
padding: [0, 50, 0, 0],
top: '5%',
- left: '37%',
+ left: '45%',
textStyle: {
padding: [15, 0, 0, 0],
rich: {
@@ -850,9 +850,9 @@ export default {
option.series = [
{
type: 'pie',
- center: ['20%', '60%'],
+ center: ['25%', '65%'],
data: chart.data,
- radius: '60%',
+ radius: '50%',
lable: {
position: 'outer',
alignTo: 'none',
@@ -1095,10 +1095,10 @@ export default {
margin-bottom: 10px;
}
.cl-profiler-top {
- height: 36%;
+ height: 45%;
}
.cl-profiler-bottom {
- height: 64%;
+ height: 55%;
padding-top: 10px;
}
.cpu-tab {
@@ -1127,6 +1127,7 @@ export default {
height: 100%;
min-width: 1300px;
min-height: 232px;
+ overflow: hidden;
}
}
.chart-radio-group {
diff --git a/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue b/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue
index 37d4ae3b70591700a54d4139b17fac9bab6e6afc..ced39472d17467e83836126ebfbe757d78a4d6f9 100644
--- a/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue
+++ b/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue
@@ -191,7 +191,7 @@ limitations under the License.
+ v-if="processSummary.count === processSummary.maxCount">
+ v-if="processSummary.count === processSummary.maxCount">
{{$t('profiling.getData')}}
@@ -390,6 +390,7 @@ export default {
processSummary: {
noData: true,
count: 6,
+ maxCount: 6,
device: {
empty: 0,
full: 0,
diff --git a/mindinsight/ui/src/views/train-manage/scalar.vue b/mindinsight/ui/src/views/train-manage/scalar.vue
index 8ed7d6e0619215035918fdcf47b74d23b736e7c9..7f91c3fd4cb662e0c3a0f7449af41803bf044626 100644
--- a/mindinsight/ui/src/views/train-manage/scalar.vue
+++ b/mindinsight/ui/src/views/train-manage/scalar.vue
@@ -1674,7 +1674,7 @@ export default {
tempOption.visualMap['pieces'] &&
tempOption.visualMap['pieces'].length > 0
) {
- tempOption.visualMap = false;
+ tempOption.visualMap = null;
tempOption.series[0].markLine = null;
sampleObject.charObj.setOption(tempOption, true);
@@ -1810,7 +1810,7 @@ export default {
tempCharOption.visualMap['pieces'] &&
tempCharOption.visualMap['pieces'].length > 0
) {
- tempCharOption.visualMap = false;
+ tempCharOption.visualMap = null;
tempCharOption.series[0].markLine = null;
tempCharOption.series[0].lineStyle.color = sampleItem.colors;
}