Page 1 of 1

Annotation/band bugs

PostPosted: Fri Jun 08, 2018 8:20 am
by RogerSaele
Found a couple of bugs related to annotations/bands. Using WinForms and v8.3.1.4001,

1. All white chart if annotation added using Windows Forms designer. To replicate:
- Add an annotation using Windows Forms designer
- Run

2. Annotation MouseOverHightlight does not work.

3. Annotation anchor and target moves in upward diagonal direction when holding and dragging with mouse when MoveByMouse = false and CoordinateSystem = AxisValues. To replicate:
- MoveByMouse = false
- LocationCoordinateSystem = CoordinateSystem.AxisValues
- Try to move anchor

- MoveByMouse = false
- TargetCoordinateSystem = AnnotationTargetCoordinates.AxisValues
- Try to move target

4. NullReferenceException when band added using Windows Forms designer. To replicate:
- Add a band using Windows Forms designer
- When run, the following line in .Designer.cs gives "Object reference not set to an instance of an object":
Code: Select all
this.lightningChartUltimate1.ViewXY = ((Arction.WinForms.Charting.Views.ViewXY.ViewXY)(resources.GetObject("lightningChartUltimate1.ViewXY")));

StackTrace:
at Arction.WinForms.Charting.SeriesXY.Band.UCC(Boolean A)
at Arction.WinForms.Charting.Views.ViewXY.ViewXY.QFC(Boolean A)
at Arction.WinForms.Charting.Views.ViewXY.ViewXY.UCC()
at Arction.WinForms.Charting.LightningChartUltimate.IWC()
at Arction.WinForms.Charting.LightningChartUltimate.KSC(ActiveView A)
at Arction.WinForms.Charting.LightningChartUltimate.FSC(ViewXY A)
at Arction.WinForms.Charting.LightningChartUltimate.set_ViewXY(ViewXY value)

Re: Annotation/band bugs

PostPosted: Fri Jun 08, 2018 2:08 pm
by ArctionKestutis
Hello Roger,

Thank you for the detailed report. Probably it is deserialization problem. :oops:
We will try to verify and fix issues as soon as possible.
The workaround is to create chart in the code (as all our Demo examples are done; check their code for guidance).

All the best.

Re: Annotation/band bugs

PostPosted: Mon Jun 11, 2018 1:12 pm
by ArctionKestutis
Hello Roger,

Thank you for detailed report. Yes, indeed 1 and 4 are (de)serialization problems, while 2-3 some error unrelated to serialization.
Starting to search for solution.
Sorry for inconvenience.

Re: Annotation/band bugs

PostPosted: Tue Jun 12, 2018 10:16 am
by RogerSaele
Hi Kestutis,

No worries. For production code I always create chart in code, but for testing purpose I sometimes drop a chart on a form using the designer and play around with some properties.

Re: Annotation/band bugs

PostPosted: Tue Jun 12, 2018 4:24 pm
by ArctionKestutis
Using the properties grid from our Demo App ('Properties' button at the top) should be excellent alternative for the Designer. Just open any example, select property grid and modify almost any property to your liking. The result are seen instantly.

Re: Annotation/band bugs

PostPosted: Wed Jun 13, 2018 8:08 am
by RogerSaele
Indeed that works great. Thanks for the tip :)

Re: Annotation/band bugs

PostPosted: Tue Oct 02, 2018 10:54 am
by ArctionKestutis
Issues reported here have been fixed in LightningChart v8.3.2.4001.