0

I am working with Stacked Bar chart(High Chart),

I am trying to implement fallowing behaviour,

when clicked on any bar of stacked bar chart, want to highlight whole chart. I am highlighting chart by changing background image(plotBackgroundImage) of chart, for this we need chart object. my question is how to get chart object when clicked on bar.

any suggestion regarding this is helpful.

kiran cm
  • 79
  • 4
  • The chart object is avaiable at all times. Combine it with point click. [How can i get access to a Highcharts chart through a DOM-Container](http://stackoverflow.com/q/13049977/2732991) – Halvor Holsten Strand Mar 18 '15 at 09:47
  • When using `plotOptions.series.point.events.click` handler you have access to `this.series.chart`. When using series click event handler, you have access to chart by `this.chart`. – Paweł Fus Mar 18 '15 at 09:58
  • And just in general, for this type of question - I find it very useful when trying to see what is returned in any javascript event to simply call console.log(this); and see what's there. – jlbriggs Mar 18 '15 at 13:01
  • Thanks @pawel Fus,"this.series.chart" solved my problem. – kiran cm Mar 19 '15 at 06:27

0 Answers0