Browse Source

fix echarts tip issue

tags/v0.5.0-beta
ph 5 years ago
parent
commit
6918f6bdd1
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      mindinsight/ui/src/views/train-manage/operator.vue
  2. +1
    -0
      mindinsight/ui/src/views/train-manage/step-trace.vue

+ 2
- 0
mindinsight/ui/src/views/train-manage/operator.vue View File

@@ -828,6 +828,7 @@ export default {
formatter: (params) => {
return `${params.marker} ${params.data.name} ${params.percent}%`;
},
confine: true,
};
option.series = [
{
@@ -856,6 +857,7 @@ export default {
option.color = ['#6C92FA'];
option.tooltip = {
trigger: 'axis',
confine: true,
};
option.series = [
{


+ 1
- 0
mindinsight/ui/src/views/train-manage/step-trace.vue View File

@@ -289,6 +289,7 @@ export default {
series: timeInfo,
tooltip: {
trigger: 'axis',
confine: true,
},
};
if (type === 'iteration_interval') {


Loading…
Cancel
Save