Menu

#51 ImageMapNotSupportedException in AreaChart

open
nobody
None
5
2005-08-03
2005-08-03
Anonymous
No

AreaChart will throw an ImageMapNotSupportedException
when renderedWithImageMap:

//---hopefully eliminate support requests asking
about this...
if( axisChart.getImageMap() != null )
{
//todo should we do a point image map?
throw new ImageMapNotSupportedException( "HTML
client-side image maps are not supported on Area
Charts." );
}

This is a problem when one has a combo-chart and wants
to be able to generate image maps for e.g. line or bar
charts in the combo-chart.

Also, this behaviour prevents the user of jcharts from
combing the AreaChart with a line chart with same
values and generate an image map to create a sort of
"substitute" image map for the area chart.

I think logging a warning or optionally turning off the
Exception would be better.

//todo should we do a point image map?
that'd be good

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.