echarts-bot[bot] commented on issue #18033:
URL: https://github.com/apache/echarts/issues/18033#issuecomment-1340999092

   @waterfan312 It seems you are not using English, I've helped translate the 
content automatically. To make your issue understood by more people and get 
helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **BODY**
   
   ### 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>
   // Import on demand Import ECharts main module
   import * as echarts from 'echarts/lib/echarts';
   // import pie chart
   import 'echarts/lib/chart/line';
   // Import tooltip and title components
   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,
   to Refs,
   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_
   </details>


-- 
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]

Reply via email to