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?