How can I fix Highcharts error #13?

前端 未结 9 2233
迷失自我
迷失自我 2020-12-11 15:59

I use highchart so, the user can close and open the chart page and redraw the chart, in some case give me this error, how can I fix it, Thanks Here is my code



        
9条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-11 16:22

    For me error was resolved when I placed the calling script after the HTML element.

    Like;

    Also if you check on high chart site it says:

        This error occurs if the chart.renderTo option is misconfigured so that
    Highcharts is unable to find the HTML element to render the chart in.
    

    https://www.highcharts.com/errors/13

提交回复
热议问题