Fixing the chart settings dialog