User (Legacy) Posted June 24, 2004 Report Share Posted June 24, 2004 Hi, Today, I installed the new ChartFX 6.2, my scattered chart works well before, but suddenly doesn't work well at 6.2. Error message is NullReferenceException' occurred in chartfx.annotation.dll , which is the first excetpint, the cascaded excetion is A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in system.windows.forms.dll Additional information: Exception has been thrown by the target of an invocation. My question is , is anything different from chartFX6.2 with previous verison ? or there is already having a patch to addrsss such annotation.dll crashing ? thx for help. David Link to comment Share on other sites More sharing options...
Software FX Posted June 25, 2004 Report Share Posted June 25, 2004 Can you please export your chart to a file and post the chart ? This would be the easiest way for us to duplicate this issue and find out what's going wrong. Regards, JC Software FX Support "Yongshuai (David) Cui" <davidcui@gartmoreriverview.com> wrote in message news:swcXIAgWEHA.3080@webserver3.softwarefx.com... > > Hi, > > > Today, I installed the new ChartFX 6.2, my scattered chart works well > before, but suddenly doesn't work well at 6.2. Error message is > NullReferenceException' occurred in chartfx.annotation.dll , which is the > first excetpint, the cascaded excetion is > > A first chance exception of type > 'System.Reflection.TargetInvocationException' occurred in > system.windows.forms.dll Additional information: Exception has been thrown > by the target of an invocation. > > My question is , is anything different from chartFX6.2 with previous verison > ? or there is already having a patch to addrsss such annotation.dll crashing > ? thx for help. > > David > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 28, 2004 Author Report Share Posted June 28, 2004 JC, Thanks! I will try to get the exporting chart. I think you can reproduce it like the following : 1. making an annotation on any chart with the following txt void makeChart(.....) { SoftwareFX.ChartFX.Annotation.AnnotationX annot = new SoftwareFX.ChartFX.Annotation.AnnotationX(); SoftwareFX.ChartFX.Annotation.AnnotationText tex = new SoftwareFX.ChartFX.Annotation.AnnotationText(); annot.List.Add(tex); Chart.Extensions.Add(annot); tex.Text = "This label is clipped"; tex.DrawingArea = false; tex.TextColor = System.Drawing.Color.Red; tex.Color = System.Drawing.Color.Transparent; tex.Border.Color =System.Drawing.Color.Transparent; tex.Top = Chart.Height - 100; tex.Left = Chart.Width - 130; tex.SizeToFit(); } The first time it might show well of the chart and annotation, next time, you re-make the chart by calling the same routine. you will got the above error I got. Not sure what is wrong. Remaking the chart on the same chart. thx for the help. David "Software FX Support" <noreply> wrote in message news:9BbHylsWEHA.2276@webserver3.softwarefx.com... > Can you please export your chart to a file and post the chart ? > > This would be the easiest way for us to duplicate this issue and find out > what's going wrong. > > Regards, > > JC > Software FX Support > > "Yongshuai (David) Cui" <davidcui@gartmoreriverview.com> wrote in message > news:swcXIAgWEHA.3080@webserver3.softwarefx.com... > > > > Hi, > > > > > > Today, I installed the new ChartFX 6.2, my scattered chart works well > > before, but suddenly doesn't work well at 6.2. Error message is > > NullReferenceException' occurred in chartfx.annotation.dll , which is the > > first excetpint, the cascaded excetion is > > > > A first chance exception of type > > 'System.Reflection.TargetInvocationException' occurred in > > system.windows.forms.dll Additional information: Exception has been thrown > > by the target of an invocation. > > > > My question is , is anything different from chartFX6.2 with previous > verison > > ? or there is already having a patch to addrsss such annotation.dll > crashing > > ? thx for help. > > > > David > > > > > > Link to comment Share on other sites More sharing options...
Software FX Posted June 30, 2004 Report Share Posted June 30, 2004 > The first time it might show well of the chart and annotation, next time, > you re-make the chart by calling the same routine. you will got the above > error I got. Not sure what is wrong. Remaking the chart on the same chart. > thx for the help. The next time you run this code over the SAME chart ? If so, this is incorrect you will be adding multiple annotation extensions to the chart. If this is not the case and you are starting with a new chart every time, we are unable to reproduce the problem here. Please provide with a repro case. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.