XCharts icon indicating copy to clipboard operation
XCharts copied to clipboard

LegendTheme unableColor and active color with different alpha

Open guodan opened this issue 1 year ago • 2 comments

When I change default theme of the legend unablecolor, and the r g b can work except a .

I notice there is a legend.itemOpacity that will reset color.a

If I want set lagend active color.a = 1, and unable color.a = 0.4. how can I do this?

barchart version: 3.9.0 / 3.14.0 unity : 2022.2.30

guodan avatar Mar 27 '25 04:03 guodan

Thanks for reporting this! We've added itemInactiveOpacity to control inactive legend items' transparency separately. This fix is already in master and will be in the next release (coming soon). Let us know if you need anything else!

monitor1394 avatar Mar 27 '25 14:03 monitor1394