Reputation: 289
So I have been tasked with creating this.
I have the charts in the tablix and I have created a custom pallete that is not implemented yet, this is just the sea green pallete, but I need to color the rectangles in the description so they match the charts like this.
I am thinking maybe a code function that looks at the row and assigns color dynamically the only problem is there is not a static number of rows and the description columns will not always be the same.
Just looking for some ideas thank you in advance.
Upvotes: 0
Views: 121
Reputation: 15027
I would go with a Code Function that accepts the series/row name and returns the color (as a string). I would probably code it as one big "Select Case True" statement, e.g.
https://stackoverflow.com/a/794091/1787137
Within each Case statement I would code for the variations in the description columns, using Like or .Contains.
Upvotes: 1