yiman58 opened a new issue, #19590:
URL: https://github.com/apache/echarts/issues/19590

   ### Version
   
   5.0.0
   
   ### Link to Minimal Reproduction
   
   custom label
   
   ### Steps to Reproduce
   
   `option = 
     {
           color: ['#1969F1'],
           tooltip: {
             trigger: 'axis',
           },
           grid: {
             left: 20,
             right: 20,
             top: 16,
             bottom: 24,
             // containLabel: true,
           },
           xAxis: {
             type: 'value',
             min: -2,
             max: 2,
             axisLabel: {
               show: false,
             },
           },
           yAxis: {
             show: false,
             type: 'category',
           },
           series: {
             areaStyle: {
               opacity: 0.8,
               color: 'rgba(25, 105, 241, 0.4)',
             },
             smooth: 0.6,
             type: 'line',
             label: {
               show: true,
               position: 'left',
               formatter: '{@tb}',
             },
             // data: data
             //   .map((item, idx) => ({
             //     value: emotionalLevelMapNum[item],
             //     tb: tb[idx],
             //   }))
             //   .reverse(),
           },
           dataset: {
             dimensions: ['product', 'value', 'tb'],
             source: [
               {
                 product: '找店到店',
                 value: 2,
                 tb: '-3%',
               },
               {
                 product: '排队等位',
                 value: -2,
                 tb: '-3%',
               },
               {
                 product: '等待出餐',
                 value: 2,
                 tb: '-3%',
               },
               {
                 product: '点餐下单',
                 value: -2,
                 tb: '-3%',
               },
               {
                 product: '就餐用餐',
                 value: -1,
                 tb: '-3%',
               },
               {
                 product: '结账离店',
                 value: 1,
                 tb: '-3%',
               },
             ],
           },
         
   };`
   
   ### Current Behavior
   
   `option = 
     {
           color: ['#1969F1'],
           tooltip: {
             trigger: 'axis',
           },
           grid: {
             left: 20,
             right: 20,
             top: 16,
             bottom: 24,
             // containLabel: true,
           },
           xAxis: {
             type: 'value',
             min: -2,
             max: 2,
             axisLabel: {
               show: false,
             },
           },
           yAxis: {
             show: false,
             type: 'category',
           },
           series: {
             areaStyle: {
               opacity: 0.8,
               color: 'rgba(25, 105, 241, 0.4)',
             },
             smooth: 0.6,
             type: 'line',
             label: {
               show: true,
               position: 'left',
               formatter: '{@tb}',
             },
             // data: data
             //   .map((item, idx) => ({
             //     value: emotionalLevelMapNum[item],
             //     tb: tb[idx],
             //   }))
             //   .reverse(),
           },
           dataset: {
             dimensions: ['product', 'value', 'tb'],
             source: [
               {
                 product: '找店到店',
                 value: 2,
                 tb: '-3%',
               },
               {
                 product: '排队等位',
                 value: -2,
                 tb: '-3%',
               },
               {
                 product: '等待出餐',
                 value: 2,
                 tb: '-3%',
               },
               {
                 product: '点餐下单',
                 value: -2,
                 tb: '-3%',
               },
               {
                 product: '就餐用餐',
                 value: -1,
                 tb: '-3%',
               },
               {
                 product: '结账离店',
                 value: 1,
                 tb: '-3%',
               },
             ],
           },
         
   };`
   
   ### Expected Behavior
   
   I hope it can display normally on the WeChat mini program
   
   ### 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