Page 1 of 1

Legend checkboxes

Posted: Mon Oct 17, 2005 11:06 am
by 9528084
The legend options for checkboxes and radio buttons in V7 are very useful. However, if you have checkboxes with all series names selected, and then use the Editor to switch to No Checkboxes, the legend changes to show the values for the first series with radio buttons. Changing back to Checkboxes works OK, but only the first series is then selected.

The Editor seems to be switching from Series to Values style when you just want to remove the checkboxes.

Posted: Mon Oct 17, 2005 2:29 pm
by narcis
Hi ColinG,

You are right, I've been able to reproduce it here and added this defect to our bug list to be fixed for future releases. In the meantime, you can do:

Code: Select all

Private Sub Command1_Click()
    With TChart1.Legend
        .CheckBoxes = Not .CheckBoxes
        .CheckBoxesStyle = cbsCheck
    End With
End Sub