You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "liu-yuren (via GitHub)" <gi...@apache.org> on 2024/10/19 14:39:31 UTC

[I] [Bug] [echarts]

liu-yuren opened a new issue, #20433:
URL: https://github.com/apache/echarts/issues/20433

   ### Version
   
   5.5.1
   
   ### Link to Minimal Reproduction
   
   请复制下面的代码复现问题
   
   ### Steps to Reproduce
   
   ```
   <script setup lang="ts">
   import * as echarts from 'echarts'
   import { onMounted } from 'vue'
   
   onMounted(() => {
     init()
   })
   
   function init() {
     const myChart = echarts.init(document.getElementById('main'))
   
     const option = {
       color: ['#E99D42', '#7FBDC6'],
       angleAxis: {
         splitLine: { show: false },
         axisTick: {
           show: true,
           lineStyle: {
             color: '#D3D3D3',
           },
         },
         axisLine: {
           show: true,
           lineStyle: {
             color: '#D3D3D3',
           },
         },
         min: 0,
         max: 50,
         interval: 5,
         axisLabel: {
           show: true,
           formatter: '{value}%',
           color: '#696B6F',
         },
       },
       radiusAxis: {
         type: 'category',
         data: ['德系', '美系', '日系', '其它欧系'],
         z: 10,
         axisLine: { show: false },
         axisTick: { show: false },
         splitLine: { show: false },
         axisLabel: {
           color: '#696B6F',
         },
         interval: 0,
       },
       tooltip: {
         show: true,
       },
       polar: {
         radius: ['30%', '60%'],
         center: ['50%', '50%'],
       },
       series: [
         {
           type: 'bar',
           data: [10, 20, 10, 20],
           coordinateSystem: 'polar',
           name: '2024',
           stack: 'a',
           barWidth: 10,
         },
         {
           type: 'bar',
           data: [10, 20, 10, 20],
           coordinateSystem: 'polar',
           name: '2023',
           stack: 'a',
           barWidth: 10,
         },
       ],
       legend: {
         show: true,
         data: ['2024', '2023'],
         right: '4%',
         itemWidth: 12,
         itemHeight: 12,
         textStyle: {
           color: '#666',
         },
         itemGap: 24,
       },
     }
   
     // 绘制图表
     myChart.setOption(option)
   }
   </script>
   
   <template>
     <div class="about">
       <div id="main" style="width: 414px;height: 360px;" />
     </div>
   </template>
   
   ```
   
   ### Current Behavior
   
   ```
   radiusAxis中data属性值为 ['德系', '美系', '日系', '其它欧系'],'德系', '美系', '日系', '其它欧系'
   页面上只显示了德系,其它没有显示
   ```
   
   ### Expected Behavior
   
   ```
   radiusAxis中data属性值为 ['德系', '美系', '日系', '其它欧系'],'德系', '美系', '日系', '其它欧系'
   页面上显示radiusAxis中data属性中的所有值
   ```
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   ```
   <template>
     <div class="about">
       <div id="main" style="width: 414px;height: 360px;" />
     </div>
   </template>
   
   dom元素的宽高根据设计稿给的,不能更改dom元素宽高
   ```


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] radiusAxis中data属性设置了值,页面上没有完全显示 [echarts]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #20433:
URL: https://github.com/apache/echarts/issues/20433#issuecomment-2423930234

   @liu-yuren 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>
   
   **TITLE**
   
   [Bug] The value of the data attribute in radiusAxis is set, but it is not fully displayed on the page.
   
   **BODY**
   
   ### Version
   
   5.5.1
   
   ### Link to Minimal Reproduction
   
   Please copy the code below to reproduce the problem
   
   ### Steps to Reproduce
   
   ```
   <script setup lang="ts">
   import * as echarts from 'echarts'
   import { onMounted } from 'vue'
   
   onMounted(() => {
     init()
   })
   
   function init() {
     const myChart = echarts.init(document.getElementById('main'))
   
     const option = {
       color: ['#E99D42', '#7FBDC6'],
       angleAxis: {
         splitLine: { show: false },
         axisTick: {
           show: true,
           lineStyle: {
             color: '#D3D3D3',
           },
         },
         axisLine: {
           show: true,
           lineStyle: {
             color: '#D3D3D3',
           },
         },
         min: 0,
         max: 50,
         interval: 5,
         axisLabel: {
           show: true,
           formatter: '{value}%',
           color: '#696B6F',
         },
       },
       radiusAxis: {
         type: 'category',
         data: ['German', 'American', 'Japanese', 'Other European'],
         z: 10,
         axisLine: { show: false },
         axisTick: { show: false },
         splitLine: { show: false },
         axisLabel: {
           color: '#696B6F',
         },
         interval: 0,
       },
       tooltip: {
         show: true,
       },
       polar: {
         radius: ['30%', '60%'],
         center: ['50%', '50%'],
       },
       series: [
         {
           type: 'bar',
           data: [10, 20, 10, 20],
           coordinateSystem: 'polar',
           name: '2024',
           stack: 'a',
           barWidth: 10,
         },
         {
           type: 'bar',
           data: [10, 20, 10, 20],
           coordinateSystem: 'polar',
           name: '2023',
           stack: 'a',
           barWidth: 10,
         },
       ],
       legend: {
         show: true,
         data: ['2024', '2023'],
         right: '4%',
         itemWidth: 12,
         itemHeight: 12,
         textStyle: {
           color: '#666',
         },
         itemGap: 24,
       },
     }
   
     // Draw the chart
     myChart.setOption(option)
   }
   </script>
   
   <template>
     <div class="about">
       <div id="main" style="width: 414px;height: 360px;" />
     </div>
   </template>
   
   ```
   
   ### Current Behavior
   
   ```
   The data attribute value in radiusAxis is ['German', 'American', 'Japanese', 'Other European']
   Only the German system is displayed on the page, and the others are not displayed.
   ```
   
   ### Expected Behavior
   
   ```
   The data attribute value in radiusAxis is ['German', 'American', 'Japanese', 'Other European']
   All values ​​in the data attribute in radiusAxis are displayed on the page
   ```
   
   ### Environment
   
   ```markdown
   -OS:
   -Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   ```
   <template>
     <div class="about">
       <div id="main" style="width: 414px;height: 360px;" />
     </div>
   </template>
   
   The width and height of the dom element are given according to the design draft, and the width and height of the dom element cannot be changed.
   ```
   </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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] radiusAxis中data属性设置了值,页面上没有完全显示 [echarts]

Posted by "liu-yuren (via GitHub)" <gi...@apache.org>.
liu-yuren closed issue #20433: [Bug] radiusAxis中data属性设置了值,页面上没有完全显示
URL: https://github.com/apache/echarts/issues/20433


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] [echarts]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #20433:
URL: https://github.com/apache/echarts/issues/20433#issuecomment-2423927490

   I'm sorry to close this issue for it lacks the necessary title. Please provide **a _descriptive_ and as _concise_ as possible title to describe your problems or requests** and then the maintainers or I will reopen this issue.
   
   Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
   
   A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
   
   Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] [echarts]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] closed issue #20433: [Bug] 
URL: https://github.com/apache/echarts/issues/20433


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org