J
jfizer
Whenever I try to call ...DataLabelsCollection.Add I get the error
"Invallid Parameter".
if((document.chsp.charts(0).Type==18) ||
(document.chsp.charts(0).Type==19) ||
(document.chsp.charts(0).Type==20) ||
(document.chsp.charts(0).Type==9001) ||
(document.chsp.charts(0).Type==9002))
{
var dls;
dls =
document.chsp.charts(0).SeriesCollection(1).DataLabelsCollection.Add();
dls.HasPercentage = 'True';
dls.HasValue = 'True';
}
"Invallid Parameter".
if((document.chsp.charts(0).Type==18) ||
(document.chsp.charts(0).Type==19) ||
(document.chsp.charts(0).Type==20) ||
(document.chsp.charts(0).Type==9001) ||
(document.chsp.charts(0).Type==9002))
{
var dls;
dls =
document.chsp.charts(0).SeriesCollection(1).DataLabelsCollection.Add();
dls.HasPercentage = 'True';
dls.HasValue = 'True';
}