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

chart theme 'aegean' not found in 5.5.1


lclossey
Go to solution Solved by ilona,

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Themes can be associated globally with all charts by using the following configuration property in the jasperreports.properties file:

net.sf.jasperreports.chart.theme=theme_name

This configuration property can be used at report level in order to override the chart theme used in the current report:

<property name="net.sf.jasperreports.chart.theme" value="theme_name"/>

Changing the chart theme is also possible at chart element level using the attribute:

<chart theme="theme_name">...</chart>

 

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

 

I'm getting the same error but with the eye.candy.sixties..... in JasperReports 4.7.0 the chart themes were activated by default in the jasperreports_extensions.properties.... but in JasperReports 5.5.1 they are uncommented by default..... WHY????

 

Code from jasperreports-chart-themes-5.5.1.jar

#net.sf.jasperreports.extension.registry.factory.chart.theme=net.sf.jasperreports.extensions.SpringExtensionsRegistryFactory#net.sf.jasperreports.extension.chart.theme.spring.beans.resource=net/sf/jasperreports/chartthemes/spring/beans/chartThemesBeans.xml#net.sf.jasperreports.extension.registry.factory.xml.chart.themes=net.sf.jasperreports.chartthemes.simple.XmlChartThemeExtensionsRegistryFactory#net.sf.jasperreports.xml.chart.theme.simple=net/sf/jasperreports/chartthemes/simple/simple.jrctx#net.sf.jasperreports.xml.chart.theme.aegean=net/sf/jasperreports/chartthemes/simple/aegean.jrctx#net.sf.jasperreports.xml.chart.theme.eye.candy.sixties=net/sf/jasperreports/chartthemes/simple/eye.candy.sixties.jrctx

It's not a good idea to let the end user manipulating some properties files within iReport just to let them able to edit old reports with new version of the Library!?!?!??!?!?!?!

 

I solved it, with enabling the lines again (remove the # character at the beginning of the lines), but wonder why a predefined ChartThemeLibrary has uncommented definitions?!??! (Is it a bug or a feature?)

 

C-Box

 

 

Link to comment
Share on other sites

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...