Amchart 响应问题
Amchart responsive issue
我在 AmChart 响应方面遇到问题。
请在此处查找代码笔:codepen
x 轴标签在宽屏中可见 UI。
但是对于tab screens,有些标签是不可见的
我希望所有标签在所有屏幕上都可见。
由于 autoGridCount
being enabled. You can force all labels to be visible by setting it to false and setting the gridCount
属性 等于您的 dataProvider 中数据点的数量,默认情况下 AmCharts 会自动调整坐标轴中可见的标签数量。
categoryAxis: {
// ...
autoGridCount: false,
gridCount: /* dataProvider size */
}
我在 AmChart 响应方面遇到问题。
请在此处查找代码笔:codepen
x 轴标签在宽屏中可见 UI。
我希望所有标签在所有屏幕上都可见。
由于 autoGridCount
being enabled. You can force all labels to be visible by setting it to false and setting the gridCount
属性 等于您的 dataProvider 中数据点的数量,默认情况下 AmCharts 会自动调整坐标轴中可见的标签数量。
categoryAxis: {
// ...
autoGridCount: false,
gridCount: /* dataProvider size */
}