waterfan312 opened a new issue, #18033:
URL: https://github.com/apache/echarts/issues/18033
### Version
5.4.0
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
<template>
<div ref="lineNormalRef" style="width: 100%; height: 100%;"></div>
</template>
<script>
// 按需引入 引入 ECharts 主模块
import * as echarts from 'echarts/lib/echarts';
// 引入饼状图
import 'echarts/lib/chart/line';
// 引入提示框和标题组件
import 'echarts/lib/component/title';
import 'echarts/lib/component/grid';
import 'echarts/lib/component/legend';
import 'echarts/lib/component/tooltip';
import 'echarts/lib/component/dataZoom';
import {
defineComponent,
defineAsyncComponent,
reactive,
toRefs,
watch,
nextTick,
onMounted,
onUnmounted,
} from 'vue'
export default defineComponent({
name: 'LineNormal',
setup(props, ctx) {
let state = reactive({
lineNormalRef: null,
chartObj: null,
});
onMounted(() => {
state.chartObj =
echarts.init(state.lineNormalRef);
let options = {
...
}
state.chartObj &&
state.chartObj.setOption(option)
})
return {
...toRefs(state),
}
}
});
</script>
<style>
</style>
option setting see this link
https://echarts.apache.org/examples/zh/editor.html?c=area-stack-gradient
### Current Behavior
as the title
"echarts": "^5.4.0",
"vue": "^3.2.41",
"vite": "^3.2.3"
### Expected Behavior
line use tooltip which set trigger equal axis, wll work.
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]