FengTian2 opened a new issue #16783:
URL: https://github.com/apache/echarts/issues/16783


   ### Version
   
   5.3.1
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   Like this code ,
   I want display the "yAxisName1111"  on left ,
   but is away in the x-axis (0)
   or there have other parameters to configure?
   this is my  test code:
   
   option = {
       legend: {
           data:['line11', 'line22']
       },
      tooltip : {
           trigger: 'axis',
           axisPointer: {
           type: 'cross',
           animation: false,
           }
       },
       toolbox: {
           show: true,
           feature: {
               dataZoom: {
                 //  yAxisIndex: 'none'
               },
               dataView: {readOnly: false},
               //magicType: {type: ['line']},
               restore: {},
               saveAsImage: {}
           }
       },
       grid: {
           top: 70,
           bottom: 50
       },
        xAxis: [{
           type: 'value',
           name:'xAxisName111',
           nameTextStyle:{
           color:'#333'
           },
           scale:true
       },
       {
         name:'xAxisName222',
          type: 'value',
       }
       
       ],
       yAxis:[{
           name:'yAxisName1111',
           type: 'value',
            position:'left',
           nameTextStyle:{
               color:'#333'
           }
       },
       {
           name:'yAxisName2222',
           type: 'value',
           position:'right',
           nameTextStyle:{
               color:'#333'
           }
       }
       
       ],
       series: [{
           name:'line11',
           symbolSize: 5,
           data: [
               [-10, 4],
               [1.1, 9],
               [1.21, 18],
               [1.32, 40],
               [1.53, 71],
               [1.74, 88], 
               [1.85, 55],
               [1.96, 32],
               [2.07, 9],
               [2.38, 0.2]
           ],
           type: 'line',
           smooth:true,
           showSymbol: false,
                     yAxisIndex: 0,
               xAxisIndex:0,
          // barGap: 0
       },
       {
           name:'line22',
           symbolSize: 5,
                     yAxisIndex: 1,
               xAxisIndex:1,
           data: [
               [0.98, 1],
               [1.3, 6],
               [1.41, 27],
               [1.62, 45],
               [1.73, 77],
               [1.84, 85],
               [2.05, 47],
               [2.16, 18],
               [2.37, 6],
               [2.38, 0.2]
           ],
           type: 'line',
           smooth:true,
           showSymbol:false,
           barGap: 0
       }
       ]
   };
   
   
   
   ### Current Behavior
   
   none
   
   ### Expected Behavior
   
   none
   
   ### 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]

Reply via email to