Reputation: 61
The following is my chart:
My requirement is to hide the legend item symbol alone (not the label) and use the checkbox as a means to select and deselect series . I have managed to achieve this.
However,while deselecting the series,the gray box appears beside the legend label.Using itemHiddenStyle property of legend applies the color to the legend text also thus hiding it.
Is there anyway to achieve this requirement?
Upvotes: 0
Views: 3469
Reputation: 4776
I think you want to remove only legend symbol,
i suggest you to go with
legend:{
symbolWidth: 0
}
then this http://jsfiddle.net/eR4vn/4/ might help you
Upvotes: 2