Hello,
I am trying to set the 3D effect to the following charts: ClusteredBar, ClusteredColumn and StackedColumn.
I am using the following settings:
//The method applying the effects
public static void Add3DEffect(this IChartSeries series)
{
var format = series.Format;
format.Effect3D.Depth = 4;
format.Effect3D.BevelTop.BevelType = BevelPresetType.Circle;
format.Effect3D.BevelTop.Width = 6;
format.Effect3D.BevelTop.Height = 6;
format.Effect3D.Camera.CameraType = CameraPresetType.OrthographicFront;
format.Effect3D.LightRig.LightType = LightRigPresetType.ThreePt;
format.Effect3D.LightRig.Direction = LightingDirection.Top;
}
//The caller code
foreach (var s in ChartObject.ChartData.Series)
{
s.Add3DEffect();
}
Those settings have effect only on the ClusteredColumn chart, on the rest of the charts the legend is 3D, but the bars are not (see the generated pptx, attached to this post).
Thank you for you help.