Heatmap report does not render when is used in a dashboard

0

Hello I have a problem on a client custom report that uses heatmap

The report by itself loads and renders correctly, but when is used in a dashboard it gets the "Can't render chart:Error: Highcharts error #17: www.highcharts.com/errors/17" error.

The highcharts and the heatmap js files ar defined in the jasperreports.properties as follows

# Highcharts static export properties
com.jaspersoft.jasperreports.highcharts.render.require.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/render/scripts/require/require-2.3.6.src.js
com.jaspersoft.jasperreports.highcharts.jquery.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/render/scripts/jquery-3.4.1.min.js
com.jaspersoft.jasperreports.highcharts.highcharts.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/render/scripts/highcharts.js
com.jaspersoft.jasperreports.highcharts.highcharts.more.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/render/scripts/highcharts-more.js
com.jaspersoft.jasperreports.highcharts.highcharts.heatmap.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/render/scripts/highcharts-heatmap.js
com.jaspersoft.jasperreports.highcharts.highcharts.treemap.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/render/scripts/highcharts-treemap.js
com.jaspersoft.jasperreports.highcharts.highcharts.3d.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/render/scripts/highcharts-3d.js
com.jaspersoft.jasperreports.highcharts.highcharts.solid.gauge.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/render/scripts/highcharts-solid-gauge.js
com.jaspersoft.jasperreports.highcharts.data.service.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/services/require/data.service.js
com.jaspersoft.jasperreports.highcharts.default.service.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/services/require/default.service.js
com.jaspersoft.jasperreports.highcharts.item.hyperlink.service.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/services/require/item.hyperlink.service.js
com.jaspersoft.jasperreports.highcharts.y.axis.service.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/services/require/y.axis.service.js
com.jaspersoft.jasperreports.highcharts.dual.pie.service.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/services/require/dual.pie.service.js
com.jaspersoft.jasperreports.highcharts.treemap.service.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/services/require/treemap.service.js
com.jaspersoft.jasperreports.highcharts.gauge.service.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/services/require/gauge.service.js
com.jaspersoft.jasperreports.highcharts.highcharts.chart.producer.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/resources/highcharts.chart.producer.js
com.jaspersoft.ji.adhoc.bundle.js$context.url=reportresource?resource=com/jaspersoft/ji/adhoc/jr/require/bundle.js
com.jaspersoft.jasperreports.highcharts.highcharts.escape.ext.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/render/scripts/escapeUtilsExt.js
com.jaspersoft.jasperreports.highcharts.xss.util.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/render/scripts/xssUtil.js
com.jaspersoft.jasperreports.highcharts.jrs.configs.js$context.url=reportresource?resource=com/jaspersoft/jasperreports/highcharts/charts/render/scripts/jrs.configs.js
com.jaspersoft.jasperreports.highcharts.function.properties.allowed=true

 

I have used varios versions of heatmap.js and highcharts.js files and i've switchd the order of the JS definitions but still getting the same error.

Can someone help me with some direction with what should we try?

I've also attached the jrxml file of the report.

Thank you

Attachments: 
cristian.baciu's picture
Joined: Feb 18 2021 - 4:47am
Last seen: 1 month 3 weeks ago

0 Answers:

No answers yet
Feedback