NullReferenceException in LegendBoxBase when set position

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

NullReferenceException in LegendBoxBase when set position

Post by Igor » Fri Dec 07, 2018 9:28 am

Msg: System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Arction.WinForms.Charting.Views.LegendBoxBase.set_Position(LegendBoxPosition value)
... call from our code via update of the legendbox position.

This error occured in version

Are you aware of such an error? Is this fixed in a newer version?

Thank you very much

Best regards

LegendBox was visible at this moment, when error occured
chart.png (21.49 KiB) Viewed 2964 times

Posts: 395
Joined: Mon Mar 14, 2016 9:22 am

Re: NullReferenceException in LegendBoxBase when set positio

Post by ArctionKestutis » Fri Dec 07, 2018 3:19 pm

LegendBox had a lot of modifications not only in version 8, but also in version 7 of LightningChart.
I could not definitely say about Null References exception but we are fixing them from time to time. If you know how to reproduce, just replace assemblies and try (or send test project for us to try).

All the best.