You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/10/12 12:14:41 UTC

[GitHub] [echarts] fuzi1996 commented on issue #17754: [Bug] The x-axis of the pie chart displays abnormally

fuzi1996 commented on issue #17754:
URL: https://github.com/apache/echarts/issues/17754#issuecomment-1276064286

   我注意到是在 [fixMinMaxLabelShow](https://github.com/apache/echarts/blob/672c7240b74e487c084aa4075466c8b87dd7395b/src/component/axis/AxisBuilder.ts#L513) 时,第一个和最后一个`label`被设置为`ignore=true`
   这里有一个判断 [shouldShowAllLabels](https://github.com/apache/echarts/blob/672c7240b74e487c084aa4075466c8b87dd7395b/src/coord/axisHelper.ts#L370) 因为 `getOptionCategoryInterval` 获取到的是 `auto` 而无法跳过
   是不是少判断了这种情况


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