User (Legacy) Posted January 25, 2002 Report Share Posted January 25, 2002 '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 More sharing options...
Software FX Posted January 28, 2002 Report Share Posted January 28, 2002 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 More sharing options...
User (Legacy) Posted January 28, 2002 Author Report Share Posted January 28, 2002 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.