Browse Source

ExtApiCurve 支持X,Y轴缩放

master
zhaohe 8 months ago
parent
commit
88f8dbd1fa
  1. 11
      src/components/ServiceConfigurationActionLog.vue

11
src/components/ServiceConfigurationActionLog.vue

@ -108,7 +108,16 @@ async function handleLogChange() {
xAxis: { type: response.xtype, axisLabel: { show: true } },
yAxis: { type: response.ytype, axisLabel: { show: true }, min: response.minY, max: response.maxY },
grid: { left: '3%', right: '4%', bottom: '3%', top: '3%', containLabel: true },
dataZoom: [{ type: 'inside' }, { type: 'inside', orient: 'vertical' }],
dataZoom: [{
type: 'slider', //
show: true,
xAxisIndex: [0], // x
}, {
type: 'slider', //
show: true,
yAxisIndex: [0], // y
}],
tooltip: { trigger: 'axis' },
series: [{
name: response.name,

Loading…
Cancel
Save