TeeChart for .NET v2022 [14 JUL 2022] RELEASE 2022.7.14

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 v2022 [14 JUL 2022] RELEASE 2022.7.14

Post by Gemma » Fri Jul 15, 2022 10:54 am

Greetings!

Steema is pleased to inform you of the availability of new build 2022.7.14 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.2022.7.14/
TeeChart .NET Business - www.nuget.org/packages/Steema.TeeChart. ... 2022.7.14/

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

Brian
Newbie
Newbie
Posts: 7
Joined: Wed Jan 22, 2020 12:00 am

Re: TeeChart for .NET v2022 [14 JUL 2022] RELEASE 2022.7.14

Post by Brian » Mon Aug 01, 2022 7:58 am

We are converting a program that uses the Steema TeeChart components from .Net framework to .NET 6 and we are encountering a NullReferenceException when disposing of a TChart object. Below is a sample code from a Visual Basic WinForms application targeting NET 6 and referencing NuGet package Steema.TeeChart.NET version 4.2022.7.14.
-----------
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim x As New Steema.TeeChart.TChart
x.Dispose()
End Sub
-----------
A NullReferenceException occurs at the line x.Dispose(). The same code works fine in Net framework 4.8. Is there new way to dispose of TCharts in NET 6?

Marc
Site Admin
Site Admin
Posts: 1265
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: TeeChart for .NET v2022 [14 JUL 2022] RELEASE 2022.7.14

Post by Marc » Mon Aug 01, 2022 3:47 pm

hello, sorry, missed your post here.

Thanks for the feedback; TeeChart is using a buffer that is still null and not checked-for when the chart is created and destroyed without a render.

We'll fix it. In the meantime you'll need to create some kind of render, export a bitmap to a stream or similar, to create an internal buffer.

eg,. (C# code)

Code: Select all

            Steema.TeeChart.TChart aChart = new Steema.TeeChart.TChart();
            aChart.Bitmap(20, 20);
            aChart.Dispose();
Regards,
Marc Meumann
Steema Support

Post Reply