Datalabel Position

U

Uður Sayar

I have the following code on an ASP Page in c#

oChartSpace.Charts[0].SeriesCollection[Sayac].DataLabelsCollection[0].Positi
on =
Microsoft.Office.Interop.Owc11.ChartDataLabelPositionEnum.chLabelPositionOut
sideBase;

i get 'invalid parameter!' error. I have found many examples about this
problem but they are in VB and doesnt work in c#.

vb example;

....

dim chConstants

set chConstants = oChartSpace.Constants

oChartSpace.Charts[0].SeriesCollection[Sayac].DataLabelsCollection[0].Positi
on = chConstants.chLabelPositionOutsideBase

....

I cannot convert this usege to the c#

best regards,
 

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