I am using HighCharts. I have data that is rendered in a pie chart. When I click on the legend-label, I can hide/show my different pie slices. Woo!
What I would like to do, is hide/show different columns to the same effect in this view. (Clicking on dog/bird should remove the column - the same as the pie slice).
My series is:
series: [{
type: "pie", //Change to "column"
data:[{
name: "dog",
age: 52,
y: 52
},
{
name: "bird",
age: 12,
y: 12
}]
}]
How can I change my structure so that it will work for both?
type: 'pie'
you wanttype: 'column'
? So in this column demo a click on monthMay
would hide the box for may? – surfmuggle