Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.
Fri Feb 24, 2012 11:42 pm
Hi,
I use the demo sample about pie charts codes.
I tried to compiler and got error:
Charts.ChartSerie cs = chart.Series[0]
The Error Message: The type or namespace name 'Charts' could not be found (are you missing a using directive or an assembly reference?)
I using
using Spire.Xls;
using Spire.Xls.Charts;
Would you please help?
Thanks!
-
ctseng123
-
- Posts: 12
- Joined: Sun May 22, 2011 10:25 pm
Mon Feb 27, 2012 7:14 am
Hi ctseng123,
Thanks for your inquiry and so sorry for the late reply.
Would you please replace your code with Spire.Xls.Charts.ChartSerie cs = chart.Series[0] to have a try?
Thanks in advance.
If you still have this problem,pleae send us your code and file to help us resolve this issue.
Have a nice day.
BR
Suvi
e-iceblue support
-
Suvi.Wu
-
- Posts: 154
- Joined: Thu Oct 20, 2011 2:53 am