poorna Posted March 30, 2007 Report Share Posted March 30, 2007 hi I created a chart with secondary axises...but i dont want them to be shown in my chart.... See the attachment....there we have two axises starting from point 0(zero).i want to hide them...how i can do that... thanks... poorna Link to comment Share on other sites More sharing options...
TomasT Posted March 30, 2007 Report Share Posted March 30, 2007 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 More sharing options...
poorna Posted April 2, 2007 Author Report Share Posted April 2, 2007 thanq Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.