Annotation/band bugs

Found a possible bug in LightningChart? Report it here.

Moderator: Arction_LasseP

Post Reply
RogerSaele
Posts: 8
Joined: Tue Jun 05, 2018 9:28 am

Annotation/band bugs

Post by RogerSaele » Fri Jun 08, 2018 8:20 am

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)

ArctionKestutis
Posts: 369
Joined: Mon Mar 14, 2016 9:22 am

Re: Annotation/band bugs

Post by ArctionKestutis » Fri Jun 08, 2018 2:08 pm

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.

ArctionKestutis
Posts: 369
Joined: Mon Mar 14, 2016 9:22 am

Re: Annotation/band bugs

Post by ArctionKestutis » Mon Jun 11, 2018 1:12 pm

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.

RogerSaele
Posts: 8
Joined: Tue Jun 05, 2018 9:28 am

Re: Annotation/band bugs

Post by RogerSaele » Tue Jun 12, 2018 10:16 am

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.

ArctionKestutis
Posts: 369
Joined: Mon Mar 14, 2016 9:22 am

Re: Annotation/band bugs

Post by ArctionKestutis » Tue Jun 12, 2018 4:24 pm

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.

RogerSaele
Posts: 8
Joined: Tue Jun 05, 2018 9:28 am

Re: Annotation/band bugs

Post by RogerSaele » Wed Jun 13, 2018 8:08 am

Indeed that works great. Thanks for the tip :)

ArctionKestutis
Posts: 369
Joined: Mon Mar 14, 2016 9:22 am

Re: Annotation/band bugs

Post by ArctionKestutis » Tue Oct 02, 2018 10:54 am

Issues reported here have been fixed in LightningChart v8.3.2.4001.

Post Reply