Menu

Bug in setExtremes on XAxis

2015-12-16
2015-12-16
  • Michael Margozzi

    It is acceptable to set the extremes with null in highcharts. However doing the same with this wrapper results in a NullPointerException. I ended up have to make my own call using this:

    private native void nativeSetExtremes(JavaScriptObject axis, Double min, Double max, boolean redraw, boolean animation) /-{
    axis.setExtremes(min, max, redraw, animation);
    }-
    /;

    Note that min and max are Double not double. I thought I would post here so it could get fixed for all users.
    My code change above in not sufficient to resolve the NullPointerException on the call to setExtremes().
    
     
  • Shawn Quinn

    Shawn Quinn - 2015-12-16

    Thanks for the heads up on this Michael, and posting a work around. I'll add this to our bug list to try and get resolved before the next release.

     

Log in to post a comment.