Graph display problems OWC11

C

CallyB

Hi - this is my first ever post - so please bear with me!

I have developed a chart which uses an array of time values for the x axis
which works perfectly in OWC9 - which is the version I used originally to
develop the project. I now need to view the chart on a client's machine
using OWC11 and Office Pro 2003 - but it doesn't work. For some reason the
chartspace is displayed, but the graph lines are not plotted. If I remark
out the x axis, the graph is displayed correctly. The y axis works fine.

Is this a known issue? If anyone can give me any suggestions I would be
very grateful. I can give details of the code if this helps.
 
A

Alvin Bruney

Re-register your component to owc11 instead of owc9. The reason for this is
that owc9 should only work with Office 2000. See if that works for you.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Professional VSTO.NET - Wrox/Wiley 2006
 
C

CallyB

Alvin, many thanks for the reply. As far as I know, OWC9 has never been
installed on the client's PC. It is new and they have a clean install of
Office 2003 and the latest OWC. I developed the page on a machine with Office
2000 and OWC9. When I moved it on to the new machine, I changed

set GrphObj = server.CreateObject("OWC.Chart")
to
set GrphObj = server.CreateObject("OWC11.Chartspace")

I have now done as you suggested and re-registered OWC11 using regsvr32 and
OWC11.dll at the comand prompt - I think this is what you mean by
re-registering the component?

Unfortunately, I still have the problem as stated - blank charts if I
include the array of X-axis time values; complete charts if I remark this out:

ValSeries.SetData GrphCon.chDimCategories, GrphCon.chDataLiteral, XAxisArray

If you are able to help any further I would be very grateful.



Alvin Bruney said:
Re-register your component to owc11 instead of owc9. The reason for this is
that owc9 should only work with Office 2000. See if that works for you.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Professional VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

CallyB said:
Hi - this is my first ever post - so please bear with me!

I have developed a chart which uses an array of time values for the x axis
which works perfectly in OWC9 - which is the version I used originally to
develop the project. I now need to view the chart on a client's machine
using OWC11 and Office Pro 2003 - but it doesn't work. For some reason the
chartspace is displayed, but the graph lines are not plotted. If I remark
out the x axis, the graph is displayed correctly. The y axis works fine.

Is this a known issue? If anyone can give me any suggestions I would be
very grateful. I can give details of the code if this helps.
 
A

amit kumar agrawal

hi my problem is that owc11 is not registring as
Imports Microsoft.Office.Interop
is not coming so if you can tell how can i fix the problem then its will
great help for me as i want to plot the graph in my project
 

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