Jump to content
Software FX Community

how to hide the axis


poorna

Recommended Posts

To Hide the Zero lines for the axes you will need to reset the Break_Zero flag of the Style property of the Chart. Basically, you will need to do the following:

chart1.getAxisX().setStyle(chart1.getAxisX().getStyle() & ~AxisStyle.BREAK_ZERO);chart1.getAxisY().setStyle(chart1.getAxisY().getStyle() & ~AxisStyle.BREAK_ZERO);

 That should do it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...