Hi Matthew, It seems that you found a bug. It appears that getSelection() doesn't return the right thing when visible is called. However, the tooltip appears to be repainted properly when you hover it, so at least that's correct behavior.
On Wed, Jun 10, 2015 at 11:05 AM Matthew Baute <[email protected]> wrote: > I am trying to set the visible property of an action to false for a > specific series in my ColumnChart. I have set tooltip.trigger to be > 'selection'. > > Debugging in Chrome Dev Tools, I set a breakpoint and when I click a point > in this series, chart.getSelection() is not correct. Only when I hover > over the another element does visible get called *again* and then > chart.getSelection() returns what I expect. > > To reproduce this behavior, take a look at this example: > http://jsfiddle.net/f6zur834/ > First click on any point in the black line. Notice how the "Drilldown By > Program" action is visible. Then move the mouse to hover over a blue > column. The tooltip for the point is repainted, hiding the action. > > Any help is appreciated, thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
