Free Support Forum - aspose.com

******** NEED IMMEDIATE ATTENTION******** Need compatible properties for MSO chart which are available in OLE chart ******** URGENT *******

Hi -

We are actually migrating our project that have been developed for OLE chart object to MSO chart object. We are not able to findout suitable properties for MSO which are available in OLE.Please help us and let us know whether the listed functionalities are available in MSO or not, if available, guide us to where (class/function/property) exactly are these available.

OLE Chart Properties that we are currently using for

1) ShowHideLegendBorder

Aspose.Cells.Charts.Legend legend = chart.Legend;

legend.Border.IsVisible = false;

2) SetLegendBorder

Aspose.Cells.Charts.Legend legend = chart.Legend;
Aspose.Cells.Drawing.LineType borderLine = Aspose.Cells.Drawing.LineType.DarkGray;

System.Drawing.Color color = System.Drawing.ColorTranslator.FromHtml(lineColor);
legend.Border.Color = color;
legend.Border.Style = borderLine;

3) SetLegendFontStyle

Aspose.Cells.Charts.Legend legend = chart.Legend;
System.Drawing.Color color = System.Drawing.ColorTranslator.FromHtml(fontColor);
legend.Font.Color = color;
legend.Font.Name = fontFamily;
legend.Font.IsItalic = Boolean.Parse(isItalic);
legend.Font.IsBold = Boolean.Parse(isBold);

4) SetLegendMarker


SeriesCollection sCollection = chart.NSeries;
sSeries.Marker.MarkerStyle = ChartMarkerType.Automatic;

Hi,


Well, Aspose.Cells for .NET’s chart relevant APIs are used to create or manipulate MS Excel charts. It supports almost all the charts that you may create in MS Excel by using the relevant options. Could you elaborate what do you mean by MSO chart objects? Please give us more details, so that we could understand you and reply you accordingly.

Thank you.

For OLE Chart , we are using Aspose.Cells.Charts.Chart

Refer Attached Example for OLE charts :OLE Chart.pptx

For MSO Chart (Micorosoft Office Charts), we are using Aspose.Slides.Pptx.ChartEx

Refer Attached Example for MSO charts : MSO Chart.pptx

Hi,


You need to contact Aspose.Slides team for your query as we can only help you regarding Aspose.Cells APIs or issues. As you are using Aspose.Slides product for your MSO charts, so, kindly contact Aspose.Slides team for it in their forums:
http://www.aspose.com/community/forums/aspose.slides-product-family/109/showforum.aspx

Thank you.