Skip to main content
2 of 3
added 165 characters in body
nicstella
  • 589
  • 1
  • 7
  • 21

Highcharts error in a community

I have made a lightning component which includes a chart rendered by Highcharts.

This component works when previewing the app. However, when the component is placed on a employee community page using the community builder, I get

Highcharts Error #13 (Rendering div not found)

on page load.

Has anyone experienced similar, or know why this is happening?

Div in component:

    <div id="container" style="width:100%; height:400px;"></div>

Highcharts rendering:

Highcharts.chart('container', {...});
nicstella
  • 589
  • 1
  • 7
  • 21