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', {...});