A
Alvin Bruney [MVP]
Anybody out there get that working? Getting errors. As usual, there aint no
documentation out there on this.
objChart.Charts.Add(0);
objChart.Charts[0].SeriesCollection.Add(0);
objChart.Charts[0].Type =
chartAlias.ChartChartTypeEnum.chChartTypeArea3D;
objChart.Charts[0].SetData(Microsoft.Office.Interop.Owc11.ChartDimensionsEnum.chDimCategories,
(int)Microsoft.Office.Interop.Owc11.ChartSpecialDataSourcesEnum.chDataLiteral,
strCategory);
objChart.Charts[0].SetData(Microsoft.Office.Interop.Owc11.ChartDimensionsEnum.chDimValues,
(int)Microsoft.Office.Interop.Owc11.ChartSpecialDataSourcesEnum.chDataLiteral,
strValue);
System.ArugmentException
Additional information: In Chart.SetData, literal data may only be to
specify chDimSeriesNames or chDimCategories.
Well how am I supposed to load the value axis????
documentation out there on this.
objChart.Charts.Add(0);
objChart.Charts[0].SeriesCollection.Add(0);
objChart.Charts[0].Type =
chartAlias.ChartChartTypeEnum.chChartTypeArea3D;
objChart.Charts[0].SetData(Microsoft.Office.Interop.Owc11.ChartDimensionsEnum.chDimCategories,
(int)Microsoft.Office.Interop.Owc11.ChartSpecialDataSourcesEnum.chDataLiteral,
strCategory);
objChart.Charts[0].SetData(Microsoft.Office.Interop.Owc11.ChartDimensionsEnum.chDimValues,
(int)Microsoft.Office.Interop.Owc11.ChartSpecialDataSourcesEnum.chDataLiteral,
strValue);
System.ArugmentException
Additional information: In Chart.SetData, literal data may only be to
specify chDimSeriesNames or chDimCategories.
Well how am I supposed to load the value axis????