Hi,
I Have a chart control that shows a point line series whose points are bitmaps. You can show it in the image attached.
When I try to resize the usercontrol containing the arction chart an error occurs. Nothing happens if I scroll horizontally the chart or I zoom or pan:
System.ArgumentException was unhandled
HResult=-2147024809
Message=Parametro non valido. (Invalid Parameter)
Source=System.Drawing
StackTrace:
in System.Drawing.Image.get_Width()
in A.EI.JH(Image A, Byte B, Boolean C)
in Arction.WPF.LightningChartUltimate.LightningChartUltimate.WFC(PointLineSeriesBase A, Int32 B, Double C, Double F, Double G, GraphSegmentInfo H, Int32 I)
in Arction.WPF.LightningChartUltimate.LightningChartUltimate.VFC(Object A)
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
in System.Threading.ThreadPoolWorkQueue.Dispatch()
InnerException:
Please could you help me?
Kind regards
Antonio Pinnelli
Chart with bitmap as points crashes resizing chart control
Moderator: Queue Moderators
Chart with bitmap as points crashes resizing chart control
- Attachments
-
- ArctionBug1.png (146.85 KiB) Viewed 25083 times
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Chart with bitmap as points crashes resizing chart contr
If you are using v.6.0.10 or 6.0.11, there is a problem regarding resizing the chart and might cause a problem you described.
Please use this 6.0.11.2 version: http://www.arction.com/CustomerAreaFile ... s_net4.zip, and let me know does it make any difference.
Please use this 6.0.11.2 version: http://www.arction.com/CustomerAreaFile ... s_net4.zip, and let me know does it make any difference.
LightningChart Support Team, PT
Re: Chart with bitmap as points crashes resizing chart contr
Hi,
it's the same. I have the same error.
Kr.
it's the same. I have the same error.
Kr.
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Chart with bitmap as points crashes resizing chart contr
OK. Please post a VS project to reproduce the issue.
LightningChart Support Team, PT
Re: Chart with bitmap as points crashes resizing chart contr
Hi,
I attached a sample project where is possible to reproduce the problem.
I noticed that the error occurs after you clicked on a point and then you resize the window.
Thank you
Kr.
Antonio Pinnelli
I attached a sample project where is possible to reproduce the problem.
I noticed that the error occurs after you clicked on a point and then you resize the window.
Thank you
Kr.
Antonio Pinnelli
- Attachments
-
- ArctionPointSeriesBug.rar
- (50.17 KiB) Downloaded 1250 times
-
- Posts: 42
- Joined: Thu Mar 28, 2013 9:20 am
Re: Chart with bitmap as points crashes resizing chart contr
Hi Antonio,
Thanks for the test project.
There seems not to be any workaround for this bug. It will be fixed in the next release though.
Sorry for inconvenience.
Thanks for the test project.
There seems not to be any workaround for this bug. It will be fixed in the next release though.
Sorry for inconvenience.
LightningChart Support Team, TK
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Chart with bitmap as points crashes resizing chart contr
This was fixed in 6.1.0, it's now downloadable. We are sorry for the trouble.
LightningChart Support Team, PT