Refresh changing the chart option is working