Added rainbow colour generator to charts.