Greetings!
Steema is pleased to inform you of the availability of new build 2023.11.17 for the TeeChart for .NET.
The new update includes TeeChart .NET Pro and Business edition binary installers.
Customers with active license subscription can download new Nuget package from website:
TeeChart .NET Pro - www.nuget.org/packages/Steema.TeeChart.NET/4.2023.11.17
TeeChart .NET Business - www.nuget.org/packages/Steema.TeeChart. ... 2023.11.17
Version history for TeeChart .NET can be viewed at the product release notes.
TeeChart for .NET v2023 [17 NOV 2023] RELEASE 2023.11.17
TeeChart for .NET v2023 [17 NOV 2023] RELEASE 2023.11.17
Best Regards,
Gemma Gibert
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
Instructions - How to post in this forum
Gemma Gibert
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
Instructions - How to post in this forum
-
- Newbie
- Posts: 12
- Joined: Tue Oct 19, 2021 12:00 am
Re: TeeChart for .NET v2023 [17 NOV 2023] RELEASE 2023.11.17
I get the following exception when trying to use this version:
This is in a .NET Framework 4.8 app.
Code: Select all
System.NullReferenceException
HResult=0x80004003
Message=Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Source=TeeChart
StackTrace:
at Steema.TeeChart.Legend.DrawLegendItem(Int32 itemIndex, Int32 itemOrder)
at Steema.TeeChart.Legend.DrawItems()
at Steema.TeeChart.Legend.Paint(IGraphics3D g, Rectangle rect, Boolean doDraw, Boolean doCalc)
at Steema.TeeChart.Chart.DoDrawLegend(Rectangle& tmp, Boolean doDraw, Boolean doCalc)
at Steema.TeeChart.Chart.DrawTitlesAndLegend(Rectangle& tmp, Boolean beforeSeries)
at Steema.TeeChart.Chart.InternalDraw(Boolean noTools)
at Steema.TeeChart.TChart.Draw(Graphics g, Rectangle rect)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaintBackground(PaintEventArgs pevent)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
-
- Newbie
- Posts: 12
- Joined: Tue Oct 19, 2021 12:00 am
Re: TeeChart for .NET v2023 [17 NOV 2023] RELEASE 2023.11.17
I fiddled around a little more with this version and found the following:
The exception disappears, if I remove the following two lines of code from my app:
1.) Legend checkboxes have been deprecated as I have learned from this forum. Why is the
2.) The
3.) The replacement for legend checkboxes, being able to click on a legend item to activate/deactivate the series, is only half working: I can click a legend item do activate/deactivate the series, but the legend item does not change it's appearance, i.e. there is no visual indication in the legend about which series are currently active/inactive. I read here that there is a plan for displaying deactivated items with a strikethrough line. Either that has not yet been implemented or it is not working?
The exception disappears, if I remove the following two lines of code from my app:
Code: Select all
chart.Legend.CheckBoxes = True
chart.Legend.FontSeriesColor = True
Legend.Checkboxes
property still available? Shouldn't the property be completely removed so that I get an error when compiling and am unable to mistakenly set it to True in the first place?2.) The
Legend.FontSeriesColor
issue seems to be new. If I don't set this property to True in the code, and then activate the corresponding checkbox in the editor at runtime, the app crashes with the following exception:Code: Select all
System.NullReferenceException
HResult=0x80004003
Message=Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Source=TeeChart
StackTrace:
at Steema.TeeChart.Legend.DrawLegendItem(Int32 itemIndex, Int32 itemOrder)
at Steema.TeeChart.Legend.DrawItems()
at Steema.TeeChart.Legend.Paint(IGraphics3D g, Rectangle rect, Boolean doDraw, Boolean doCalc)
at Steema.TeeChart.Chart.DoDrawLegend(Rectangle& tmp, Boolean doDraw, Boolean doCalc)
at Steema.TeeChart.Chart.DrawTitlesAndLegend(Rectangle& tmp, Boolean beforeSeries)
at Steema.TeeChart.Chart.InternalDraw(Boolean noTools)
at Steema.TeeChart.TChart.Draw(Graphics g, Rectangle rect)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaintBackground(PaintEventArgs pevent)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
-
- Newbie
- Posts: 12
- Joined: Tue Oct 19, 2021 12:00 am
Re: TeeChart for .NET v2023 [17 NOV 2023] RELEASE 2023.11.17
adding to 3.) I also get the problem someone else already mentioned that clicking on a legend item sometimes activates/deactivates a different series than the one clicked. It is difficult to reproduce reliably though, sometimes it works, sometimes it doesn't.