public Image getSnapshot ( ) { String code = getBase64Image ( nativeCanvas ) ; if ( code == null ) return null ; Image image = new Image ( code ) ; return image ; }
Creates snapshot of current state of chart as image