首页 > 解决方案 > 如何在 ApexChart.js 中的 xaxis 标签下方添加填充

问题描述

我在 React 中使用 ApexCharts.js 并且无法找到在 xaxis 和底部边框之间获得一些空间的方法。有人可以帮我解决这个问题吗? 我遇到的间距问题的图像

标签: htmlcssreactjsapexcharts

解决方案


增加底部填充grid

grid: {
  padding: {
    bottom: 20
  }
}

推荐阅读