santosh.audi19 Posted December 1, 2015 Share Posted December 1, 2015 I have created a Simple Jasper report using TIBCO Jaspersoft Studio Professional-6.1.0.final, Now I want to set a background color for it .I have tried the following Properties but it didn't worked.1) chart.backgroundColor.linearGradient java.util.Arrays.asList(0,0,500,500)2) chart.backgroundColor.stops java.util.Arrays.asList(java.util.Arrays.asList(0,"#b5bdc8"),java.util.Arrays.asList(0.36,"#828c95"),java.util.Arrays.asList(1,"#28343b"))Could you help me what property I should use to set Background color for a Normal Jasper report. Link to comment Share on other sites More sharing options...
hozawa Posted December 1, 2015 Share Posted December 1, 2015 You're trying to set background of a chart with those properties.Just select the report and in the properties, select the background color and uncheck transparent. Link to comment Share on other sites More sharing options...
santosh.audi19 Posted December 1, 2015 Author Share Posted December 1, 2015 Ok I understand , If I select the background color and uncheck transparent , How am I supposed to get the same background color effect for my simple report . I think I will get single color as background If I follow your answer. Link to comment Share on other sites More sharing options...
hozawa Posted December 1, 2015 Share Posted December 1, 2015 Color "effect" is unsupported by JasperReports. You'll have to create an image file with the effect and read that image in as a background. Link to comment Share on other sites More sharing options...
santosh.audi19 Posted December 3, 2015 Author Share Posted December 3, 2015 So If I have an Image How to set that as a background for Whole report and How much that Image resolution should be?Thanks. 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