Combo Line Chart
"Chris McKay" <[email protected]> Thu, 1 Jul 2004 14:21:08 +1200
| Newsgroups | gmane.comp.krysalis.jcharts.devel |
|---|---|
| Message-ID | <006201c45f12$1503d800$0300000a@Chris> |
One thing that has been brought to my attention off the list is the
following scenario.
Now we have a dual Y axis why can't I plot one set of lines against the
LHS and another set against the RHS?
It looks like the problem is in AxisChart overlayCharts method and
associated DataSet storage mechanism. DataSets are stored as HashMaps
keyed by ChartType, so of course having two data sets of the same type
won't work. I guess what is needed is to stored these in a vector and
have the type stored as part of the set. But what else would break?
Any thoughts?
Sample code:
protected void overlayCharts() throws PropertyException,
ChartDataException
{
IAxisPlotDataSet iAxisPlotDataSet;
iAxisPlotDataSet =
this.iAxisDataSeries.getIAxisPlotDataSet( ChartType.AREA_STACKED );
if( iAxisPlotDataSet != null )
C
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com