Menu

SeriesLegendItemClickEvent key modifier does not work

Eric
2012-08-10
2016-07-06
  • Eric

    Eric - 2012-08-10

    Hi

    i have created a SeriesLegendItemClickEventHandler
    with
    public boolean onClick(SeriesLegendItemClickEvent seriesLegendItemClickEvent)
    {

        if (seriesLegendItemClickEvent.isShiftKeyDown()) {
            return true;
        }
        if (seriesLegendItemClickEvent.isAltKeyDown()) {
            return true;
        }
        if (seriesLegendItemClickEvent.isControlKeyDown()) { 
            return true;
        }
        if (seriesLegendItemClickEvent.isMetaKeyDown()) {
            return true;
        }
        // do something else
        return false;
    }
    

    And whatever the ky i press when i click, modifiers allways return false and "something else" is done
    i am missing somthing ?

     
  • hcode

    hcode - 2016-07-06

    Hi

    Still having the issue with gwt-highchart 1.7 and highchart 4.1.5. As far as I can see Highchart fix a bug in 2012. It's a bit weird but the key states are still not sent with event.

    I can't see why , any ideas ?

     

Log in to post a comment.