Page 1 of 1

Check Boxes in Legend

Posted: Fri Apr 15, 2005 1:12 pm
by 9236592
Hi there,

im using a few series on my chart. each is connected to a different axis. the axis have different start positions.
i added check boxes on the legend to enable/disable the series and the connected axis. im in need to rearrange the the positions of the axis if one or more series are enabled/disabled.
is there an event fired when clicking on these check boxes so i can set a new axis position ? didnt find anything about that in the help files...


thx for help

Posted: Fri Apr 15, 2005 2:07 pm
by narcis
Hi Henning,

There's no specific event for what you request but it may help you using chart's OnClickLegend and/or OnAfterDraw events. You can also use Series.Visible to check if series are visible or not that's what changes when clicking legend checkboxes.