【发布时间】:2018-12-20 02:46:28
【问题描述】:
【问题讨论】:
标签: android achartengine
【问题讨论】:
标签: android achartengine
AFAIK,AChartEngine 不支持主要和次要网格线。只能启用一组网格线,但您可以分别启用/禁用 x 和 y 网格线。
renderer.setShowGridX(true);
renderer.setShowGridY(false);
如果您绝对需要主要/次要网格线,我建议您尝试Sfchart。它确实支持major and minor axis:
chart.getSecondaryAxis().setShowMajorGridLines(true);
chart.getSecondaryAxis().setShowMinorGridLines(true);
但是,请务必在使用前查看其许可条款。
【讨论】: