You need to sign in to do that
Don't have an account?
Ashish Narkhede 13
Highcharts chart not rendering if LockerService is enabled
LockerService was enabled as a critical update in my DE org. I am trying to create a home page showing multiple charts using Lightning component and Highcharts as charting library.
The charts are rendered fine if I deactivate the LockerService. I get this error if LockerService is active and I try to render highcharts chart:
Something has gone wrong.
Error in $A.getCallback() [NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.] Failing descriptor: {markup://c:AHM_Home1}. Please try again.
I am using Highcharts version 4.2.3
Code sample: https://jsfiddle.net/ashishn/g81q2vtx/
The charts are rendered fine if I deactivate the LockerService. I get this error if LockerService is active and I try to render highcharts chart:
Something has gone wrong.
Error in $A.getCallback() [NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.] Failing descriptor: {markup://c:AHM_Home1}. Please try again.
I am using Highcharts version 4.2.3
Code sample: https://jsfiddle.net/ashishn/g81q2vtx/
I tried using lightning CLI. Attached picture is a screenshot of CLI.
In summer 16 releases Some of the features will have limitations and will come during or after Winter 2017.
Please check the below link it will give some idea on your issue.
https://developer.salesforce.com/blogs/developer-relations/2016/04/introducing-lockerservice-lightning-components.html
Best Regards,
Jyothsna