PDA

View Full Version : Setting x and y legend for charts



babyblue
20 Jan 2010, 3:52 PM
I have a working chart, mix of line and bars. When I try to set x legend and/or y legend then the whole chart goes blank. Anyone have experience with this?



chartModel.setYLegend(new Text("Sum of Priorities"));
chartModel.setXLegend(new Text(model.getLabelColumnName()));

albertogiantin
26 Apr 2010, 5:26 AM
I have the same problem, any news about?

babyblue
27 Apr 2010, 1:50 PM
Sorry no update :(

schildmeijer
7 Oct 2010, 8:08 AM
chartmodel.setXLegend(new Text("Months", "font-size: 12px; font-family: Verdana; text-align: center;"));