Browse Source

update

tags/v0.2.0-alpha
ph 6 years ago
parent
commit
e37a6f45cd
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      mindinsight/ui/src/views/train-manage/histogram.vue

+ 4
- 1
mindinsight/ui/src/views/train-manage/histogram.vue View File

@@ -799,7 +799,10 @@ export default {
this.zrDrawElement.tooltipX = new echarts.graphic.Text({
position: [itemX, gridRect.y + gridRect.height],
style: {
text: Math.round(x * 1000) / 1000,
text:
x.toString().length >= 6
? x.toExponential(3)
: Math.round(x * 1000) / 1000,
textFill: '#fff',
textAlign: 'center',
fontSize: 12,


Loading…
Cancel
Save