diff --git a/mindinsight/ui/src/views/train-manage/histogram.vue b/mindinsight/ui/src/views/train-manage/histogram.vue
index 1ecd666e..f02c1d64 100644
--- a/mindinsight/ui/src/views/train-manage/histogram.vue
+++ b/mindinsight/ui/src/views/train-manage/histogram.vue
@@ -90,6 +90,7 @@ limitations under the License.
-
+
@@ -670,7 +673,7 @@ export default {
grid: {
top: 20,
bottom: 66,
- left: 66,
+ left: 60,
right: 60,
},
xAxis: [
@@ -837,7 +840,6 @@ export default {
},
formatDataToChar() {
const dataItem = this.histogramData;
- const title = dataItem.tag;
const seriesData = [];
let maxStep = -Infinity;
let minStep = Infinity;
@@ -862,7 +864,6 @@ export default {
});
}
return {
- title,
seriesData,
maxStep,
minStep,
@@ -874,13 +875,6 @@ export default {
},
formatCharOption(charOption) {
const option = {
- textStyle: {fontFamily: 'Merriweather Sans'},
- title: {
- text: charOption.title || '',
- textStyle: {fontSize: '12', fontWeight: '400'},
- bottom: 6,
- left: 'center',
- },
grid: {
left: 15,
top: 126,
@@ -1840,11 +1834,21 @@ export default {
}
}
#distribution-chart {
- height: 100%;
+ height: calc(100% - 19px);
canvas {
cursor: pointer;
}
}
+ .histogram-char-container {
+ height: 100%;
+ width: 100%;
+ cursor: pointer;
+ .tag-text {
+ font-size: 12px;
+ font-weight: 400;
+ text-align: center;
+ }
+ }
#dataMapGraph {
.CreatDataset > polygon,