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 Quote 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. Quote Link to comment Share on other sites More sharing options...
poorna Posted April 2, 2007 Author Report Share Posted April 2, 2007 thanq Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.