Suppose i have 5 categories in pie chart and each category has unique colors at runtime. How can i set these unique colors to category using script? color value will be there in the data set.
Since the link was broken, here's the devshare post that was referenced above: https://forums.opentext.com/forums/discussion/60845/custom-chart-colors-based-on-data-set-values
If the color is defined in a different column, one way you can get access to that is concatenate the category and color to a single string in a computed column and use that as your category. Then parse the color from the data point value when setting the color. You would need adjustments elsewhere to trim out the color from category labels.
@Chad Montgomery Thanks for your suggestion and it worked fine for me except one new prob. So After splitting color values from series name and reassigning series name to label, there is extra space in legend items which was allocated to the string which had color values in it. Because of that legend items are extending to the next line and it is looking weird now. DO you have any suggestion for this? If i get solution for this i can proceed and use it.
Could you attach your report or an example?