#13 ChartCreator bug with generated image map

open
nobody
None
5
2008-09-26
2008-09-26
Ben R
No

When using the generateMap and ongeneratedimagemapclick attributes of the chart tag, the ChartRenderer component omits the usemap declaration from the rendered img tag.

This means the imagemap functionality fails.
(Firefox 3.0.2, IE 6)

It is straightforward to fix:
net.sf.jsfcomp.chartcreator.renderkit.ChartRenderer r831, encodeBegin() method

add

if(chart.getGenerateMap() != null) writer.writeAttribute("usemap", "#" + chart.getGenerateMap(),null);

to the section which renders the img attributes.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks