lclossey Posted February 27, 2014 Share Posted February 27, 2014 Hi,I am getting an error "Chart theme 'aegean' not found when I try to preview a report with Jaspersoft 5.5.1. I thought Aegean was included in the 5.5.1 chart themes? Thanks! Link to comment Share on other sites More sharing options...
hozawa Posted February 28, 2014 Share Posted February 28, 2014 Download the Chart Theme from the following page:http://jasperreports.sourceforge.net/sample.reference/chartthemes/index.html Link to comment Share on other sites More sharing options...
lclossey Posted February 28, 2014 Author Share Posted February 28, 2014 Once I download it, what do I do with it? Is it the ChartTheme.java file that I want? Link to comment Share on other sites More sharing options...
Solution ilona Posted February 28, 2014 Solution Share Posted February 28, 2014 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_nameThis 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 More sharing options...
C-Box Posted March 18, 2014 Share Posted March 18, 2014 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.jrctxIt'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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now