I have a checkbox that allows my program to enable disable series displayed on my chart. When I disable the serie, it is removed from the chartArea and as well from the legend. Is it possible to keep it in the legend even if disabled? I’d like to change it’s transparency in the legend so that it looks as disabled and set it back to full color on enabled.
Here’s a link of what I am looking for:
EDIT :
I found another (much simpler) way to do this. You can simply handle the
CustomizeLegendevent (and disable the series usingseries.Enabled):Result: