Added code to handle pane options also in chart config options