User (Legacy) Posted January 30, 2004 Report Posted January 30, 2004 Hello! I encountered with problem when ChartFX broken with access violation. The file with chart is attached. Can you help me? May be I incorrect initialize the ChartFX? Thanks, Kirill
User (Legacy) Posted January 30, 2004 Author Report Posted January 30, 2004 This error repeats on this chart too
Software FX Posted January 30, 2004 Report Posted January 30, 2004 What version of chart FX are you using ? Please include: 1) Product name and version 2) Build Number (can be obtained from the file version) 3) Module you are using Server Component ? Client Component ? Client-Server component ? dll ? -- FP Software FX
User (Legacy) Posted February 2, 2004 Author Report Posted February 2, 2004 Sorry, I thought you could read this information from attached file. I use ChartFX Client/Server. CFX4032.ocx version 5.0.10.4 SfxBar.dll version 1.0.22.0 Your answer is very significant for me, thanks. "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:NiDL1K15DHA.2468@webserver3.softwarefx.com... > What version of chart FX are you using ? > > Please include: > > 1) Product name and version > 2) Build Number (can be obtained from the file version) > 3) Module you are using Server Component ? Client Component ? Client-Server > component ? dll ? > > -- > FP > Software FX > >
User (Legacy) Posted February 2, 2004 Author Report Posted February 2, 2004 This error repeats on this chart too "Kirill" <van-kirill@yandex.ru> wrote in message news:1adhT0V6DHA.2468@webserver3.softwarefx.com... > Sorry, I thought you could read this information from attached file. > I use ChartFX Client/Server. > CFX4032.ocx version 5.0.10.4 > SfxBar.dll version 1.0.22.0 > > Your answer is very significant for me, thanks. > > > "SoftwareFX Support" <noreply@softwarefx.com> wrote in message > news:NiDL1K15DHA.2468@webserver3.softwarefx.com... > > What version of chart FX are you using ? > > > > Please include: > > > > 1) Product name and version > > 2) Build Number (can be obtained from the file version) > > 3) Module you are using Server Component ? Client Component ? > Client-Server > > component ? dll ? > > > > -- > > FP > > Software FX > > > > > >
Software FX Posted February 3, 2004 Report Posted February 3, 2004 The First Chart has 3 Series. The 3rd series Gallery was set to an invalid value (191). Similar problems occur with the other charts. When using the MultiType property , make sure you assign ALL series to a correct value. -- FP Software FX
User (Legacy) Posted February 4, 2004 Author Report Posted February 4, 2004 I don't understand how this value could be assigned by user. There isn't any code where I set this value separatly for every series I set it (only correct value because I use your enumeration ) only for whole chart. And I save a template of chart which was created by user and use it further. When I'm initializing a chart can I prohibit changing this property by user? During I'm writing the letter I find out how It's possible (repeates the error). 1. process the chart on the first database (for example: there are 3 series in this database). 2. separetly change type of every series 3. save template of this chart with FILE_MASK = ChartfxLib::FMASK_ALL; FILE_MASK &= ~ChartfxLib::FMASK_DATA; FILE_MASK &= ~ChartfxLib::FMASK_LABELS ; FILE_MASK &= ~ChartfxLib::FMASK_SIZEDATA; 4. process the chart with this template on the database where amount of series less then in previous one (for example: 2 series) 5. separetly change type of every series 6. when you try repeate the first item (process the chart on the first database) then the type of 3d series will be incorrect and access violation will be repeated again. Best regards, I hope you will be able repeat this error. "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:MwTMCap6DHA.2336@webserver3.softwarefx.com... > The First Chart has 3 Series. The 3rd series Gallery was set to an invalid > value (191). > > Similar problems occur with the other charts. > > When using the MultiType property , make sure you assign ALL series to a > correct value. > > -- > FP > Software FX > >
Software FX Posted February 4, 2004 Report Posted February 4, 2004 It looks like this value was assigned by you (not the user). You mean to say that NOWHERE in your code you assign MultiType ? How about Series[i].TypeMask or Series[i].Gallery ? Check your code that does "separetly change type of every series" to make sure you are going through all the series. If you still think that the bug is in our product (and not in your code) please send us a working program that reproduces it as we are unable to do so. The only way I could obtain a chart like the one in your file was to incorrectly use the MultiType property (equivalent to Series[i].TypeMask or Series[i].Gallery) in CODE, no user interaction ever resulted in a chart with this problem. -- FP Software FX
User (Legacy) Posted February 5, 2004 Author Report Posted February 5, 2004 I feel myself as your tester... "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:$sfGFZ06DHA.2468@webserver3.softwarefx.com... > It looks like this value was assigned by you (not the user). > > You mean to say that NOWHERE in your code you assign MultiType ? How about > Series[i].TypeMask or Series[i].Gallery ? > > Check your code that does "separetly change type of every series" to make > sure you are going through all the series. > > If you still think that the bug is in our product (and not in your code) > please send us a working program that reproduces it as we are unable to do > so. The only way I could obtain a chart like the one in your file was to > incorrectly use the MultiType property (equivalent to Series[i].TypeMask or > Series[i].Gallery) in CODE, no user interaction ever resulted in a chart > with this problem. > > -- > FP > Software FX > >
Software FX Posted February 5, 2004 Report Posted February 5, 2004 Sorry, what is an .rar file ? In the attached files I see no source code and this is precisely what I need. -- FP Software FX
User (Legacy) Posted February 6, 2004 Author Report Posted February 6, 2004 Sorry, I attached .zip archive "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:k0AkLCA7DHA.2152@webserver3.softwarefx.com... > Sorry, what is an .rar file ? In the attached files I see no source code and > this is precisely what I need. > > -- > FP > Software FX > >
Software FX Posted February 9, 2004 Report Posted February 9, 2004 Ohh ! I see the problem. You are assigning FileMask to save the Per-Series attributes but NOT to save the number of series. This will produce an inconsistency. You need to include FMASK_SIZEDATA if you are going to include FMASK_MULTI. So changing the FileMask line to: ChartFX1.FileMask = FMASK_ALL And Not FMASK_DATA And Not FMASK_LABELS Will fix the problem. -- FP Software FX
Recommended Posts
Archived
This topic is now archived and is closed to further replies.