njp Posted February 20, 2018 Share Posted February 20, 2018 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. Link to comment Share on other sites More sharing options...
sergey.vishnevetskiy Posted February 23, 2018 Share Posted February 23, 2018 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 Link to comment Share on other sites More sharing options...
njp Posted March 7, 2018 Author Share Posted March 7, 2018 Thanks for the reply.But how can i add the style name in seriesColor tag, its not accepting style name. 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