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

material ui - How to add space around MUI chart's plot area? - Stack Overflow

programmeradmin1浏览0评论

Notice how the line at the top of the chart is thinner than the lines inside the plotting area, because it lands on the edge.

How can I fix this?

I tried adding a margin property, but that adds space around the entire chart component, instead of increasing the plotting area. I don't want my points landing right on the edge of the plotting area. This is a common configuration in charting libraries.

<LineChartPro 
  width={600}
  height={300}
/>
发布评论

评论列表(0)

  1. 暂无评论