Split ChartOptionsPanel to be a separate file and class