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.
TeeChart for .NET v2022 [14 JUL 2022] RELEASE 2022.7.14
TeeChart for .NET v2022 [14 JUL 2022] RELEASE 2022.7.14
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
Re: TeeChart for .NET v2022 [14 JUL 2022] RELEASE 2022.7.14
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?
-----------
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?
Re: TeeChart for .NET v2022 [14 JUL 2022] RELEASE 2022.7.14
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)
Regards,
Marc Meumann
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();
Marc Meumann
Steema Support