krwyth Posted January 22, 2009 Report Share Posted January 22, 2009 What is the best way to create an extra label on the y axis to show the max value. Such that the image below would have a "6.3" at the top. Thanks Quote Link to comment Share on other sites More sharing options...
rogelioB Posted February 17, 2009 Report Share Posted February 17, 2009 You need to add a style to the Axis Y in order to show the last label, please use the code below:Set<AxisStyles> s = chart1.getAxisY().getStyle(); s.add(AxisStyles.SHOW_ENDS); chart1.getAxisY().setStyle((EnumSet<AxisStyles>) s);Regards RB 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.