Chart with bitmap as points crashes resizing chart control

Found a possible bug in LightningChart? Report it here.

Moderator: Queue Moderators

Post Reply
vifani
Posts: 49
Joined: Thu May 02, 2013 8:35 am

Chart with bitmap as points crashes resizing chart control

Post by vifani » Thu Aug 21, 2014 11:00 am

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
Attachments
ArctionBug1.png
ArctionBug1.png (146.85 KiB) Viewed 25021 times

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Chart with bitmap as points crashes resizing chart contr

Post by ArctionPasi » Thu Aug 21, 2014 3:02 pm

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.
LightningChart Support Team, PT

vifani
Posts: 49
Joined: Thu May 02, 2013 8:35 am

Re: Chart with bitmap as points crashes resizing chart contr

Post by vifani » Thu Aug 21, 2014 3:23 pm

Hi,

it's the same. I have the same error.

Kr.

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Chart with bitmap as points crashes resizing chart contr

Post by ArctionPasi » Thu Aug 21, 2014 3:38 pm

OK. Please post a VS project to reproduce the issue.
LightningChart Support Team, PT

vifani
Posts: 49
Joined: Thu May 02, 2013 8:35 am

Re: Chart with bitmap as points crashes resizing chart contr

Post by vifani » Fri Aug 22, 2014 6:51 am

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
Attachments
ArctionPointSeriesBug.rar
(50.17 KiB) Downloaded 1246 times

ArctionTero
Posts: 42
Joined: Thu Mar 28, 2013 9:20 am

Re: Chart with bitmap as points crashes resizing chart contr

Post by ArctionTero » Mon Aug 25, 2014 10:30 am

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.
LightningChart Support Team, TK

vifani
Posts: 49
Joined: Thu May 02, 2013 8:35 am

Re: Chart with bitmap as points crashes resizing chart contr

Post by vifani » Mon Aug 25, 2014 12:03 pm

:cry:

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Chart with bitmap as points crashes resizing chart contr

Post by ArctionPasi » Mon Sep 01, 2014 6:38 pm

This was fixed in 6.1.0, it's now downloadable. We are sorry for the trouble. :roll:
LightningChart Support Team, PT

Post Reply