最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

material ui - Add space between the axis and tick label in MUI LineChart - Stack Overflow

programmeradmin5浏览0评论

This is my current chart:

This is what I am trying to achieve:

MUI classes I have been targeting to add space:

As per above images, I am trying to add some space between the axis line and the label. I have tried to use the sx prop and a bunch of classes but my changes are not applyed anyway.

style not applied:

I am using MUI version "^6.4.5". I tried to go through the docs but the styling part about charts could be improved, it's not so clear.

发布评论

评论列表(0)

  1. 暂无评论