I have observed the requirements shared by you. Please try using following sample to serve the purpose. Please share, if i may help you further in this regard.
//Setting value axis title
chart.ValueAxis.HasTitle = true;
PortionEx valtitle = chart.ValueAxis.Title.Text.Paragraphs.Portions;
valtitle.Text = “Primary Axis”;
valtitle.PortionFormat.FillFormat.FillType = FillTypeEx.Solid;
valtitle.PortionFormat.FillFormat.SolidFillColor.Color = Color.Gray;
valtitle.PortionFormat.FontHeight = 20;
valtitle.PortionFormat.FontBold = NullableBool.True;
valtitle.PortionFormat.FontItalic = NullableBool.True;
chart.ValueAxis.Title.Text.TextVerticalType = TextVerticalTypeEx.Vertical270;
Thanks. It was right under my nose.
CopyTextFrameFormat(lDestChart.ValueAxis.Title.Text, lSrcChart.ValueAxis.Title.Text, pCopyImmutable);
Probably the property value that I copy is wrong?
I have observed the requirement shared and have observed the issue while reading the vertical type rather than applying the property to new target text frame. It is read as horizontal instead of vertical. I have created an issue with ID SLIDESNET-34538 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.
We are sorry for your inconvenience,