To alter the appearance of grid lines, you can use properties of the class NChartAxisGrid. To access the grid lines, you can use getters of cartesianSystem like xAlongY and similar. For example, to change the color of grid lines that are perpendicular to X-axis and stroke along Y-axis, you can do the following:
m_view.getChart().getCartesianSystem().getXAlongY().setColor(Color.RED);
Comments
No comments yet.
Please log in to place a comment.