krysalis-jcharts/src/java/org/krysalis/jcharts/chartData AxisDataSeries.java,1.3,1.4
Gann Bierner <[email protected]> Mon, 18 Oct 2004 03:04:17 +0000
| Newsgroups | gmane.comp.krysalis.jcharts.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/chartData In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10190/src/java/org/krysalis/jcharts/chartData Modified Files: AxisDataSeries.java Log Message: Allow horizontal/bar combo charts. Allow rendering of combo charts in order of addition. Fixed bug when rending axis chart with no data. Index: AxisDataSeries.java =================================================================== RCS file: /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/chartData/AxisDataSeries.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AxisDataSeries.java 1 Jul 2004 01:40:05 -0000 1.3 --- AxisDataSeries.java 18 Oct 2004 03:04:15 -0000 1.4 *************** *** 49,53 **** import java.util.Iterator; ! import java.util.HashMap; --- 49,53 ---- import java.util.Iterator; ! import java.util.LinkedHashMap; *************** *** 62,66 **** private String yAxisTitle; private String rightYAxisTitle = null; ! protected HashMap dataSets; protected int totalNumberOfDataSets; --- 62,66 ---- private String yAxisTitle; private String rightYAxisTitle = null; ! protected LinkedHashMap dataSets; // linked to maintain order of addition protected int totalNumberOfDataSets; *************** *** 80,84 **** this.yAxisTitle=yAxisTitle; this.chartTitle=chartTitle; ! dataSets = new HashMap(); } --- 80,84 ---- this.yAxisTitle=yAxisTitle; this.chartTitle=chartTitle; ! dataSets = new LinkedHashMap(); } *************** *** 98,102 **** this.rightYAxisTitle=rightYAxisTitle; this.chartTitle=chartTitle; ! dataSets = new HashMap(); } --- 98,102 ---- this.rightYAxisTitle=rightYAxisTitle; this.chartTitle=chartTitle; ! dataSets = new LinkedHashMap(); } ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl