From: David G. <mu...@us...> - 2006-10-30 13:11:17
|
Update of /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/axis In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv3346/source/org/jfree/chart/axis Modified Files: Tag: STABLE_1-0-0 CategoryAxis.java Log Message: 2006-10-30 David Gilbert <dav...@ob...> * source/org/jfree/chart/axis/CategoryAxis.java (refreshTicks): Fetch categories for all datasets that map to this axis; * source/org/jfree/chart/plot/CategoryPlot.java (getDomainAxisIndex): New method, (datasetsMappedToDomainIndex): New method, (getCategoriesForAxis): New method, * source/org/jfree/chart/plot/CombinedDomainCategoryPlot.java (getCategoriesForAxis): New method. Index: CategoryAxis.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/axis/CategoryAxis.java,v retrieving revision 1.18.2.9 retrieving revision 1.18.2.10 diff -C2 -d -r1.18.2.9 -r1.18.2.10 *** CategoryAxis.java 2 Oct 2006 15:28:40 -0000 1.18.2.9 --- CategoryAxis.java 30 Oct 2006 13:11:10 -0000 1.18.2.10 *************** *** 75,79 **** * 23-Nov-2005 : Added per-category font and paint options - see patch * 1217634 (DG); ! * ------------- JFreeChart 1.0.0 --------------------------------------------- * 11-Jan-2006 : Fixed null pointer exception in drawCategoryLabels - see bug * 1403043 (DG); --- 75,79 ---- * 23-Nov-2005 : Added per-category font and paint options - see patch * 1217634 (DG); ! * ------------- JFreeChart 1.0.x --------------------------------------------- * 11-Jan-2006 : Fixed null pointer exception in drawCategoryLabels - see bug * 1403043 (DG); *************** *** 81,84 **** --- 81,86 ---- * Joubert (1277726) (DG); * 02-Oct-2006 : Updated category label entity (DG); + * 30-Oct-2006 : Updated refreshTicks() method to account for possibility of + * multiple domain axes (DG); * */ *************** *** 945,949 **** CategoryPlot plot = (CategoryPlot) getPlot(); ! List categories = plot.getCategories(); double max = 0.0; --- 947,951 ---- CategoryPlot plot = (CategoryPlot) getPlot(); ! List categories = plot.getCategoriesForAxis(this); double max = 0.0; |