update style for charts.