Hi Jarrod,
The color of each of the columns (points) in a Column Chart can be changed by handling the PrepareStyle event of the series.
Please refer to the sample linked to below:
F23032ChartPointsColor_8544.zip
The relevant portion of the code in C# is also posted below:
series.PrepareStyle += new ChartPrepareStyleInfoHandler(this.ChartControlSeries_PrepareStyle);
protected void ChartControlSeries_PrepareStyle(object sender, ChartPrepareStyleInfoEventArgs args)
{
ChartSeries series = sender as ChartSeries;
int r, g, b;
switch(args.Index)
{
case 0:
r = 222;b=245;g=123;
break;
case 1:
r = 122;b=145;g=123;
break;
case 2:
r = 22;b=45;g=123;
break;
case 3:
r = 202;b=225;g=123;
break;
case 4:
r = 22;b=125;g=123;
break;
case 5:
r = 200;b=45;g=123;
break;
case 6:
r = 2;b=25;g=23;
break;
case 7:
r = 222;b=24;g=123;
break;
case 8:
r = 222;b=245;g=3;
break;
case 9:
r = 222;b=245;g=123;
break;
case 10:
r = 222;b=5;g=123;
break;
case 11:
r = 22;b=25;g=123;
break;
default:
r = 222;b=245;g=123;
break;
}
if(series != null)
{
args.Style.Interior = new BrushInfo(GradientStyle.None,Color.Black,Color.FromArgb(r,g,b ) );
args.Handled = true;
}
Thanks,
Davis