Apply gradient color to Chart Series
For j = 1 To grphChart.SeriesCollection.Count
With grphChart.SeriesCollection(j)
'.Interior.Color = RGB(Int(Rnd(j) * 200), Int(Rnd(j) * 150), Int(Rnd(j) * 175))
.Fill.OneColorGradient msoGradientVertical, 4, 0.231372549019608
.Fill.Visible = True
.Fill.ForeColor.SchemeColor = Int(Rnd(Timer()) * 54) + 2
'.Barshape = xlCylinder
' xlCylinder, xlConeToPoint, xlBox, xlPiramidtoMax
If typ = 1 Then
.Interior.Color = msoGradientVertical
End If
.DataLabels.Font.Size = 10
.DataLabels.Font.Color = 3
If typ = 1 Then
.DataLabels.Orientation = xlUpward
Else
'.DataLabels.Orientation = xlHorizontal
.DataLabels.Orientation = 45 'titlted angle in degrees
End If
End With
Next