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/11/03 07:24:24 UTC

[GitHub] [echarts] L-value opened a new issue, #17869: [Bug] 图表左右两侧默认会有个padding,这个有配置可以去掉么,想canvas都用来显示图表内容

L-value opened a new issue, #17869:
URL: https://github.com/apache/echarts/issues/17869

   ### Version
   
   5.22
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   [Bug]  图表左右两侧默认会有个padding,这个有配置可以去掉么,想canvas都用来显示图表内容
   
   ### Current Behavior
   
   [Bug]  图表左右两侧默认会有个padding,这个有配置可以去掉么,想canvas都用来显示图表内容
   
   ### Expected Behavior
   
   [Bug]  图表左右两侧默认会有个padding,这个有配置可以去掉么,想canvas都用来显示图表内容
   
   ### 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: 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


[GitHub] [echarts] L-value commented on issue #17869: [Bug] 图表左右两侧默认会有个padding,这个有配置可以去掉么,想canvas都用来显示图表内容

Posted by GitBox <gi...@apache.org>.
L-value commented on issue #17869:
URL: https://github.com/apache/echarts/issues/17869#issuecomment-1302043123

   感谢 配置后确实有效果了,但是发现如果y轴如果有单位 还是会距离左侧有些空隙


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


[GitHub] [echarts] plainheart commented on issue #17869: [Bug] 图表左右两侧默认会有个padding,这个有配置可以去掉么,想canvas都用来显示图表内容

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17869:
URL: https://github.com/apache/echarts/issues/17869#issuecomment-1301730345

   可以设置 [`boundaryGap`](https://echarts.apache.org/zh/option.html#xAxis.boundaryGap) 为 `false`


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


[GitHub] [echarts] plainheart commented on issue #17869: [Bug] 图表左右两侧默认会有个padding,这个有配置可以去掉么,想canvas都用来显示图表内容

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17869:
URL: https://github.com/apache/echarts/issues/17869#issuecomment-1302254804

   > 但是发现如果y轴如果有单位 还是会距离左侧有些空隙
   
   这个倒是,好像现在还不太好控制轴名称 `axis.name` 的偏移量,也许后面会优化一下,不过优先级可能并不太高。


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #17869: [Bug] 图表左右两侧默认会有个padding,这个有配置可以去掉么,想canvas都用来显示图表内容

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17869:
URL: https://github.com/apache/echarts/issues/17869#issuecomment-1301728390

   @L-value 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] There will be a padding on the left and right sides of the chart by default, this configuration can be removed, I want the canvas to be used to display the chart content
   
   **BODY**
   
   ### Version
   
   5.22
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   [Bug] There will be a padding on the left and right sides of the chart by default. Can this be removed by configuration? I want the canvas to be used to display the chart content
   
   ### Current Behavior
   
   [Bug] There will be a padding on the left and right sides of the chart by default. Can this be removed by configuration? I want the canvas to be used to display the chart content
   
   ### Expected Behavior
   
   [Bug] There will be a padding on the left and right sides of the chart by default. Can this be removed by configuration? I want the canvas to be used to display the chart content
   
   ### Environment
   
   ````markdown
   - OS:
   - Browser:
   - Framework:
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </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