Jaspersoft Community 'Read-Only' as of July 8, 2022
Transition to New TIBCO Community Just Weeks Away
You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.
HI All,
How can i give color to bar chart , color needs to select from database , please suggest a way .
Is there any expression in jasper to handle this ?
Or please share piece of java code for adding color to bar chart from database .
a reply is greatly appreciated.
2 Answers:
Posted on February 23, 2018 at 3:11pm
Colors is a part of styling, so you have to create a style in style tab, then create conditional style for it, and in condition use expression you want.
https://www.google.ca/search?q=jasper+studio+conditional+styling