JasperServer 5.6 AdHoc Chart Colors

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

In version 5.5 the color series used for html charts could be changed by modifiying jasperserver-pro/scripts/adhoc/highchart.datamapper.js .

Version 5.6 uses optimized scripts now, but even with a modified jasperserver-pro/optimized-scripts/adhoc/chart/highchart.datamapper.js this has not the desired effect of setting alternate colors for my charts.

Where/how should I set my preferred color series for the adhoc charts?

volker_1's picture
Joined: Oct 5 2013 - 10:00am
Last seen: 7 years 9 months ago

Hi , 

I am using Jaspersoft 6.0.1. I am unable to change the colors for the Ad Hoc view charts. I added colors in defaultPalette.js but, I see the changes only on the report charts. But no the Ad Hoc View. Could you please suggest I want to add colors to Ad Hoc View charts too.


Thanks & Regards,



lpruthveraaj - 6 years 3 months ago

2 Answers:

js files are chached. Have you cleared cache in tomcat, apache, and your web browser?

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 3 weeks ago

I am using Jasper Server 5.6 and the File "highchart.datamapper.js" is at the path "jasperserver-pro/optimized-scripts/adhoc/".I have applied those color changes at the file and restarted the tomcat server but i still see the old colors at the ad hoc charts.
I have also cleared the cache of tomcat as well as the browser.

ajay_chothani - 7 years 10 months ago

I struggled with this as well but finally found where to change the settings when we updated from 5.5 to 6.0.1 saw the color scheme changed but the files mentioned - highchart.datamapper.js had not


Go to jasperserver-pro/optimized-scripts/bower-components/bi-report/src/adhoc/chart/palette  - the old color palette is oldColorPalette.js and can be renamed to defaultPalette.js to update

rmclaren's picture
Joined: Jun 18 2013 - 7:13am
Last seen: 7 years 2 months ago