Bjørn Madsen
Bjørn Madsen

Reputation: 388

Interactive legend in Visiblox chart

I have a Visiblox chart showing several LineSeries. I would like to be able to show/hide these individually, preferably by clicking on the corresponding LegendItem or inserting a checkbox in the legend item.

I tried adding a checkbox to the LegendItem ControlTemplate, and it does show up, but I can't manipulate it in any way.

Thanks in advance.

Upvotes: 0

Views: 780

Answers (1)

Partha Lal
Partha Lal

Reputation: 541

Retemplating the LegendItem is the way to do this - we've just published a blog post describing how to achieve exactly what you've described (and more): http://www.visiblox.com/blog/2012/04/interacting-with-the-legend.

Upvotes: 1

Related Questions