cheapwebhoster Posted January 3, 2017 Share Posted January 3, 2017 I have 4 created chart using 4 different dataset in one report in Jasperstudio - Now that i have encountered problem where the charts having different/inconsistent set of colors of the column charts although the Color pallete set are the same for all charts. I believe this is because it follows the sequence in the colors pallete...so when one data is not present in one of the chart it follows the color sequence. For exampleChart 1: Data 1, Data 2, Data 3Chart 2: Data 1, Data 3Chart 3: Data 3Color pallete sequence = Green, Blue RedTherefore:Chart 1: Data 1 = Green, Data 2 = Blue, Data 3 = RedChart 2: Data 1 = Green, Data 3 = Blue <---- i want this to be Red as wellChart 3: Data 3 = Green <--- i want this to be RedTo solve this problem i am thinking if it is possible to parse the color set from one chart to another. For example Chart 1 is the main chart and pass its color to the rest of the chart...Therefore when the same data exist in other chart it follows the color in the Chart 1. Please advise! Link to comment Share on other sites More sharing options...
cheapwebhoster Posted January 3, 2017 Author Share Posted January 3, 2017 By the way a I am aware that we can assigned the color specifically for each data...but the data is just too many to assign all colors...and i am not sure what color would be suitable for the many thousands. Therefore dynamically follow a color from a single chart is the best solution for me. Link to comment Share on other sites More sharing options...
cheapwebhoster Posted January 3, 2017 Author Share Posted January 3, 2017 And the chart is using HTML 5 (High Chart) 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