Multiple Highcharts component is not rendering when Locker Service is activated. The individual Highcharts rendering issue was solved after the Patch 12.1 update from the Salesforce in the Winter '17.
But the old Highcharts error 16 issue still persists when we try to load multiple Highcharts components.
I've created created an unmanaged package for replicating the issue when Locker Service is Active.
Details of the unmanaged package:-
There are three main Lightning components viz. Test, firstChart and secondChart.
firstChart
and secondchart
component comprises of Highcharts. I've put both of these components inside the main component, ie., in this case, Test
.
When Locker Service is active only one of them is rendered. Whereas when Locker Service is deactivated, both of them are being rendered whose screenshots are as below.
When Locker Service is Active:-
When Locker Service is Deactivated:-
PS: My use case is using the independent chart components in multiple places inside the app. I've created such a package only to replicate the same issue.