View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
rodchar rodchar is offline
external usenet poster
 
Posts: 80
Default 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