Jump to content
Software FX Community

Gallery Questions


User (Legacy)
 Share

Recommended Posts

'lo everyone.  I have some questions on using the Gallery Property on a

Series.

Background: VC++ 6.0 (latest Service pack), using ChartFX 98 (Oops, ChartFX

Client/Server :) ).

If I capture the OnChangeTypeChart1() event, I am passed a Type and a

Result. How do I know to which Series the Type applies?

And, when I grab the value of the Gallery property (using this line of code

nSeriesGallery = m_pChartFX->Series->Item[1]->Gallery) why do I get the

value of 1179649 (plus the offset of the Gallery Type, eg. Line = 1, Bar =

2, etc....)? I would have expected the value of the Gallery Type to be what

is in the documentation (which is Line = 1, Bar = 2, etc....)

Any ideas?

Thanks in advance!

-Scott.

Link to comment
Share on other sites

There is no API to know which series is the one changing, you will need to

check for changes (comparing with the latest state) or you can capture the

RButtonDown event and remember the series later when you receive the event.

As for the weird number you get from Gallery, this is due to a bug (???) in

the #import directive, check out article Q1381014 for more info.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Ah.....  I wondered what was going on.  The values I was saving (and then

putting back in) were working, but they just looked really odd.

Makes sense now. Thank You.

-Scott.

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:q57riBBqBHA.1412@webserver1.softwarefx.com...

> There is no API to know which series is the one changing, you will need to

> check for changes (comparing with the latest state) or you can capture the

> RButtonDown event and remember the series later when you receive the

event.

>

> As for the weird number you get from Gallery, this is due to a bug (???)

in

> the #import directive, check out article Q1381014 for more info.

>

> --

> 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...