Need Help Controlling Legend Behavior in Perspective XY Chart

Hello all,

I’m facing an issue with controlling the legend in the XY Chart component in Ignition Perspective. The default legend allows me to show/hide bars properly. However, when I try to control the visibility using the visible property, it only hides the series but leaves an empty space instead of disabling it like the default legend does.

Additionally, when I click on the default legend to hide a series, the change is not reflected in the visible property. I need a way to programmatically control this behavior while ensuring the legend and series visibility stay in sync.

Has anyone found a solution for this?

Thanks in advance :slightly_smiling_face:!