Pass the chartWrapper to the onReady function.

Hi,

I needed to get a reference to the ChartWrapper to set an action. Rather having specific handling for this case, I thought it might be better to add a more general purpose solution to allow manipulation of the ChartWrapper.

Thanks,

Chris