Bug in OWC11

L

Liam Ponder

Setting the DashedStyle of the Chartspace border results
in only half the border being drawn. The top and the left
side.

Here is a snippet

ChChartSpace ChartSpace1 = new ChartSpaceClass();

//Create a new chart within ChartSpace1:
ChChart Chart1 = ChartSpace1.Charts.Add(0);

//Format the chartspace elements.
ChartSpace1.Border.Color = "#336699";
ChartSpace1.Border.DashStyle =
ChartLineDashStyleEnum.chLineDash;


Chart1.Type =
Microsoft.Office.Interop.Owc11.ChartChartTypeEnum.chChartT
ypeBarStacked;

ChSeries s = Chart1.SeriesCollection.Add(0);

s.SetData(ChartDimensionsEnum.chDimCategories,
(int)
ChartSpecialDataSourcesEnum.chDataLiteral,Cats.ToString
());
s.SetData(ChartDimensionsEnum.chDimValues,(int)
ChartSpecialDataSourcesEnum.chDataLiteral,Vals.ToString
());
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top