TeeChart for .NET v2023 [17 NOV 2023] RELEASE 2023.11.17

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Gemma
Advanced
Posts: 263
Joined: Thu Feb 03, 2011 12:00 am

TeeChart for .NET v2023 [17 NOV 2023] RELEASE 2023.11.17

Post by Gemma » Fri Nov 17, 2023 8:32 am

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.
Best Regards,
Gemma Gibert
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
Instructions - How to post in this forum

sydro_consult
Newbie
Newbie
Posts: 12
Joined: Tue Oct 19, 2021 12:00 am

Re: TeeChart for .NET v2023 [17 NOV 2023] RELEASE 2023.11.17

Post by sydro_consult » Sat Nov 18, 2023 10:00 am

I get the following exception when trying to use this version:

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)
This is in a .NET Framework 4.8 app.

sydro_consult
Newbie
Newbie
Posts: 12
Joined: Tue Oct 19, 2021 12:00 am

Re: TeeChart for .NET v2023 [17 NOV 2023] RELEASE 2023.11.17

Post by sydro_consult » Mon Nov 20, 2023 5:36 pm

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:

Code: Select all

chart.Legend.CheckBoxes = True
chart.Legend.FontSeriesColor = True
1.) Legend checkboxes have been deprecated as I have learned from this forum. Why is the 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)
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?

sydro_consult
Newbie
Newbie
Posts: 12
Joined: Tue Oct 19, 2021 12:00 am

Re: TeeChart for .NET v2023 [17 NOV 2023] RELEASE 2023.11.17

Post by sydro_consult » Mon Nov 20, 2023 5:44 pm

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.

Post Reply