@@ -155,7 +155,8 @@ | |||||
<input class="hidden" name="auto_agree" type="checkbox"> | <input class="hidden" name="auto_agree" type="checkbox"> | ||||
<label | <label | ||||
style="width: 76%;text-align: justify;line-height: 1.5;">{{.i18n.Tr "repo.use_repo_agreement"}} | style="width: 76%;text-align: justify;line-height: 1.5;">{{.i18n.Tr "repo.use_repo_agreement"}} | ||||
<a href="/home/term/">{{.i18n.Tr "repo.openi_use_agreement"}}</a></label> | |||||
<a target="_blank" | |||||
href="/home/term/">{{.i18n.Tr "repo.openi_use_agreement"}}</a></label> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -11,7 +11,7 @@ | |||||
.dataset_title { | .dataset_title { | ||||
font-size: 14px; | font-size: 14px; | ||||
max-width: 80%; | |||||
/* max-width: 80%; */ | |||||
display: inline-block !important; | display: inline-block !important; | ||||
margin-left: 6px !important; | margin-left: 6px !important; | ||||
padding-right: 0 !important; | padding-right: 0 !important; | ||||
@@ -5119,8 +5119,7 @@ function initChartsNpu() { | |||||
name: '时间(min)' | name: '时间(min)' | ||||
}, | }, | ||||
yAxis: { | yAxis: { | ||||
min: 0, | |||||
max: 100, | |||||
show: true, | show: true, | ||||
name: '占有率(%)', | name: '占有率(%)', | ||||
axisLine: { | axisLine: { | ||||
@@ -5162,7 +5161,7 @@ function initChartsNpu() { | |||||
return seriesOption | return seriesOption | ||||
}) | }) | ||||
let xLength = res.MetricsInfo[0].value.length | let xLength = res.MetricsInfo[0].value.length | ||||
options.xAxis.data = Array.from({ length: xLength }, (_, index) => index + 1) | |||||
options.xAxis.data = Array.from({ length: xLength }, (_, index) => index) | |||||
options.legend.data = legenData | options.legend.data = legenData | ||||
options.series = seriesData | options.series = seriesData | ||||
options && myCharts.setOption(options); | options && myCharts.setOption(options); | ||||