chart_settings function

set chart options