add ability of chart type selection