Jump to content
We've recently updated our Privacy Statement, available here ×

Imagemap when exporting to XML stream


igorla

Recommended Posts

Hi,

I've defined report with pie-chart. While I export it to XML stream, only image of chart is exported, but imagemap with html code that shows tooltips are not exported.

Export to HTML format shows tooltip in correct way.

 

Thanks in advance,

Igor.

 

 

This is the code that exports the chart:

Code:

ByteArrayOutputStream xmlBao = new ByteArrayOutputStream();
JasperPrint jasperPrint = (JasperPrint)JRLoader.loadObject(bis);
JRXmlExporter exporter = new JRXmlExporter();

exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, xmlBao);

exporter.exportReport();

//JasperExportManager.exportReportToHtmlFile(bis,xmlBao);
System.out.println(new String(xmlBao.toByteArray()));
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...