Changing the default colors in Ad Hoc Charts Jaspersoft 6.0.1

0

Hi , 

I am using Jaspersoft 6.1.0 I am unable to change the colors for the Ad Hoc view charts. I added colors in defaultPalette.js but, I see the changes reflected on the report charts. But changes are not refelecting on the Ad Hoc View.

Could you please suggest I want to add custom colors to Ad Hoc View charts too.

 

Thanks & Regards,

Pruthvi  

lpruthveraaj's picture
Joined: Mar 25 2016 - 2:23am
Last seen: 3 years 4 days ago

3 Answers:

1

Hi Pruthvi. 

I know the method, it must work for 6.2.0, and not checked for 6.0.1. (Be ready for making revert) 

You should export Current theme, and make updates for Colors or Styles in templates. 

Then you import the Theme back, and new colors\styles will appear. 

Step1. Export Themes and unzip archive export.zip. 

 

Step 2. Find the files *.jrxml.data and update styles as you like. 

Move files back to archive export.zip. 

Step 3. Import export.zip and check how it looks now. 

Picture for step 2: 

vitaly.makhaev's picture
Joined: Feb 10 2016 - 6:01am
Last seen: 1 year 3 months ago
0

For 6.0.1 you need to follow the same instrucctions as for 5.x versions check this article http://community.jaspersoft.com/wiki/how-modify-jasperreports-server-561... Remembet that this will affect all Adhoc Charts since it is a server level setting.

Starting in 6.2 Jaspersfot added the posibility to change/control those color at the AdHoc level per chart, so upgrading will probably be best :) You can find more info about this in the 6.2 Documentation and also in the What's New in Jaspersoft 6.2 Page. Take a look at this video for a demo https://www.youtube.com/watch?v=cgEe1psz4wI

marianol's picture
4738
Joined: Sep 13 2011 - 8:04am
Last seen: 1 year 2 weeks ago
0

I tried changing the JS files as you specified. Still I am unable to see the defined colors on Ad hoc view charts. But, I can see those colors only on report Charts.

Could you please suggest me anyother option  to see the colors on Ad Hoc Veiw charts also?

 

Thanks & regards,

Pruthvi 

 

lpruthveraaj's picture
Joined: Mar 25 2016 - 2:23am
Last seen: 3 years 4 days ago
Feedback
randomness