|
From: Nathaniel G. A. <nat...@ya...> - 2003-11-02 13:18:54
|
yes this is a bug. It is on line 90 of ScatterPlotChart.
The code incorrectly uses the y-coordinate for bot the x and y. The code should read:
//---if we are generating an ImageMap, store the image coordinates
if( scatterPlotAxisChart.getGenerateImageMapFlag() )
{
scatterPlotAxisChart.getImageMap().addImageMapArea( new CircleMapArea(
xAxisCoordinates[ dataSet ][ index ],
yAxisCoordinates[ dataSet ][ index ],
iScatterPlotDataSet.getValue( dataSet, index ),
iScatterPlotDataSet.getLegendLabel( dataSet ) ) );
}
I hope to get a patch out today for this...
--- Scott Bachman <sco...@wg...> wrote:
> I created a ScatterPlotAxisChart which is working fine, but when I put an
> imagemap on it (renderWithImageMap()) the resulting imagemap is wrong....
> the hyperlink hotspots do not match up with the plotted points.
>
> Has anyone else tried this? Any ideas?
>
> Thanks,
> Scott
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> jCharts-users mailing list
> jCh...@li...
> https://lists.sourceforge.net/lists/listinfo/jcharts-users
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
|