@alex4 Here is a screenshot showing the resulting string of my dynamic colours expression when the app loads:
In case you need to copy/paste the result for testing, the string is #4A86E8,#E8685E,#EA4335,#EA958E,#D7B0C3,#D57DA8 which matches character-for-character with the static value that I was initially putting directly in the pie chart colour field (with the chart loading fine) before trying to make the colours dynamic.
Based on this string, it seems that the hex codes are being loaded properly rather than anything related to rgba format.
For reference, here is how I’m building the dynamic colour string:
I have an option set called Asset Classes and each Asset Class has an attribute called “Colour” in which I store a hex code (e.g. #4A86E8).
When building my pie chart, I do a search for Portfolio Allocations which returns a list. I then do a “Format as Text” on this list to build a string based on each Portfolio Allocation’s Asset Class’s Colour, using a comma as the delimiter.
On a completely different note, I see that Charts.js supports multiple series for pie/donut charts. I have a need for a pie chart with two series, so I’m wondering if this functionality could be added to your plugin? I assumed it would be supported since it was part of Charts.js but I should have thought to confirm this before purchasing your plugin.