neozerabbit Posted October 7, 2011 Share Posted October 7, 2011 Is it possible, and how, to embbed legends in a chart, not on the top, bottom, left or right ? Link to comment Share on other sites More sharing options...
neozerabbit Posted October 12, 2011 Author Share Posted October 12, 2011 Nobody Post Edited by neozerabbit at 10/12/2011 12:52 Link to comment Share on other sites More sharing options...
zeltner Posted October 13, 2011 Share Posted October 13, 2011 In XYPlots you can replace the legend by a XYTitleAnnotation.Code:...LegendTitle legend = chart.getLegend(); // only for XYPlots((XYPlot) chart.getPlot()).addAnnotation(new XYTitleAnnotation(x, y, legend, RectangleAnchor.CENTER));// remove the original legendchart.removeLegend();... Link to comment Share on other sites More sharing options...
neozerabbit Posted October 14, 2011 Author Share Posted October 14, 2011 Thanks. I'll try that Link to comment Share on other sites More sharing options...
neozerabbit Posted November 9, 2011 Author Share Posted November 9, 2011 I am working on it but i do no manage in setting annotation where i want in the graphe. I can set y value of annotations but not x value. I use Bar chart ; Category Annotation. I would like something like | Cat1 Cat2 | ----| | ||-------|--|------- |---|---------------------------------- |---| (with a 45 degres orientation angle)I am thinkg about base item label generator Post Edited by neozerabbit at 11/09/2011 09:59 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now