C
Chris Chiu
Hi,
I'm going to use C# and OWC to create the chart in ASP.NET.
I try to use below code to retrive the constant value from
"ChartSpace.Constants".
......
......
Owc11.ChartSpace loChartSpace = new Owc11.ChartSpace();
Owc11.ChChart loGraph = loChartSpace.Charts.Add(0);
......
......
loGraph.SeriesCollection[0].SetData(loChartSpace.Constants.chDimCategories,
-1, laLabels);
loGraph.SeriesCollection[0].SetData(loChartSpace.Constants.chDimValues,
-1, laData);
......
.....
But it return following error at compile time:
"object' does not contain a definition for 'chDimCategories".
Do anyone know how to solve the problem? Thanks in advance
Chris
I'm going to use C# and OWC to create the chart in ASP.NET.
I try to use below code to retrive the constant value from
"ChartSpace.Constants".
......
......
Owc11.ChartSpace loChartSpace = new Owc11.ChartSpace();
Owc11.ChChart loGraph = loChartSpace.Charts.Add(0);
......
......
loGraph.SeriesCollection[0].SetData(loChartSpace.Constants.chDimCategories,
-1, laLabels);
loGraph.SeriesCollection[0].SetData(loChartSpace.Constants.chDimValues,
-1, laData);
......
.....
But it return following error at compile time:
"object' does not contain a definition for 'chDimCategories".
Do anyone know how to solve the problem? Thanks in advance
Chris