When setting charts' appearance with colour by the expression, the legend is hidden and the corresponding options in property manual is disabled.
Charts affected: Bar chart, Combo Chart, Gauge, Line Chart, Pie Chart, Scatter plot
Customers have requested for this feature to be revisited and for legends to be enabled when the expression is a color code.
Don't forget to Like posts and use the "Accept as Solution" button on content that answered your question! Thanks 🙂