Jump to content
Software FX Community

Problems Making An Active X chart work


User (Legacy)
 Share

Recommended Posts

Hello Everyone!

My latest problem involves trying to convert my code so that it runs using

ActiveX instead of just generating a picture. I have gone back to basics

with the idea of building things up slowly. So I copied the example out of

the help file (Appendix A) on using ActiveX, this did not work straight away

because it uses the obsolete ThisSeries method. Now I am very puzzled,

because the code I have done specifies that my test graph should only have 1

series and yet it has 2! My code and screenshots are attached.

I even tried designing the chart in the designer with 1 series and 10 data

points, then copying the code across, that did not work either.

Can anyone help?

Cheers

Paul

Link to comment
Share on other sites

A couple of things:

1) Internet Explorer will not read the constants from the type library,

therefore, using of constants such as COD_VALUES is not allowed, IE will

take them as zero (0).

2) In your OpenData you are not specifying one (1) series, you are

specifying zero (0) which means "unchanged" that's why you get two (2)

series (the default).

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...