JasperServer 5.6 AdHoc Chart Colors

0

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: 5 years 1 month 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,

Pruthvi  

 

lpruthveraaj - 3 years 7 months ago

2 Answers:

1

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

hozawa's picture
52422
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 6 days 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 - 5 years 3 months ago
0

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: 4 years 6 months ago
Feedback
randomness