ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   getting rid of the border (https://www.excelbanter.com/excel-programming/386911-getting-rid-border.html)

rodchar

getting rid of the border
 
hey all,
i'm using Office Web Components for Visual Studio 2005 and was just
wondering if anyone knows the syntax to remove the border around the chart?

Here is a snippet of my C# code that works:

oChartSpace.Charts.Add(0);
oChartSpace.Charts[0].SeriesCollection.Add(0);
// x-axis labels
oChartSpace.Charts[0].SeriesCollection[0].SetData(OWC10.ChartDimensionsEnum.chDimCategories ,
Convert.ToInt32(OWC10.ChartSpecialDataSourcesEnum. chDataLiteral),names );
// y-axis labels
oChartSpace.Charts[0].SeriesCollection[0].SetData(OWC10.ChartDimensionsEnum.chDimValues,
Convert.ToInt32(OWC10.ChartSpecialDataSourcesEnum. chDataLiteral),totals );

oChartSpace.Charts[0].HasLegend = true;

Thanks,
rodchar


All times are GMT +1. The time now is 03:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com