I created a stacked bar chart card which has 5 series in it. then I assigned color to each series. but when I selected only 3 series the colors that are assigned to series would change. Is there any solution to assing fixed color to series independent if they are selected or not.
for example if we have 3 series for different cateogry of cars and their sales:
sport car --- > Red
Sedan -- > blue
SUV --- > orange
then if user selects just sport car and SUV, the SUV color becomes blue instead of keeping its original value orange.
can anyone help me to solve this issue?