You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "sentimental114 (via GitHub)" <gi...@apache.org> on 2024/07/29 06:04:18 UTC

[I] How to customize the width of the x-axis label in a polar coordinate column chart [echarts]

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

   ### What problem does this feature solve?
   
   在极坐标系柱状图中,由于用户对于不同类型的看重程度不一样,需要对极坐标系坐标x轴进行单独设置,比如用户比较看重指标A,将指标A的宽度设置为30度,不是很看重指标B,将指标B的宽度设为10度,以此类推。请问要怎么做才能达成该效果
   In the polar coordinate system bar chart, due to the varying degrees of importance that users place on different types, it is necessary to set the x-axis of the polar coordinate system separately. For example, if a user places more emphasis on indicator A, set its width to 30 degrees, and less emphasis on indicator B, set its width to 10 degrees, and so on. May I ask how to achieve this effect
   
   ### What does the proposed API look like?
   
   将xAxis的data属性,设置为可放入对象数组,然后在这个数组的对象属性中,添加能控制宽度的属性。
   例如
   ...
    xAxis: {
       type: 'category',
       boundaryGap: false,
       // prettier-ignore
       data: [{name:'00:00',with:'30'}, {name:'01:15'',with:'30'}, {name:'02:30',with:'30'}, {name:'03:45',with:'30'}, {name:'05:00',with:'30'},{name:'06:15',with:'30'} ,{name:'07:30',with:'30'}, {name:'08:45',with:'30'},{name:'10:00',with:'30'} ,{name: '11:15',with:'30'},{name:'12:30',with:'30'} ,{name:'13:45',with:'30'}, {name:'15:00',with:'30'},{name:'16:15',with:'30'}, {name:'17:30',with:'30'}, {name:'18:45',with:'30'}, {name:'20:00',with:'30'}, {name:'21:15',with:'30'},{name:'22:30',with:'30'} ,{name:'23:45',with:'30'} ]
     },
   ...


-- 
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] How to customize the width of the x-axis label in a polar coordinate column chart [echarts]

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

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


-- 
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] How to customize the width of the x-axis label in a polar coordinate column chart [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #20206: How to customize the width of the x-axis label in a polar coordinate column chart
URL: https://github.com/apache/echarts/issues/20206


-- 
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] How to customize the width of the x-axis label in a polar coordinate column chart [echarts]

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

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


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