Fixed to get a interface of chart by using chart_type.