Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2662

Summary: Guge gives an error just placing it on a form
Product: .NET TeeChart Reporter: Luigi Casalegno <luigi.casalegno>
Component: .NET 5.0Assignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: critical CC: edu, marc
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: test that shows the bug

Description Luigi Casalegno 2023-12-21 03:29:33 EST
Created attachment 1062 [details]
test that shows the bug

I just put a gauge in a NET 6 form it works in design mode. But when the program starts it gives an error in the Designer.cs  saying that the Asis is null.
I attach the example
Comment 1 marc meumann 2024-03-20 02:54:25 EDT
The problem is related to load order of the lines calling Axis from VerticalGauge. The Axis being null at that moment in the load sequence.

eg. verticalLinearGauge1.Axis.Increment = 10D;

We will resolve the issue, a workaround is to comment the line or move it later in the load sequence (ie. form_load)
Comment 2 Edu 2024-03-20 05:07:29 EDT
Resolved for inclusion with next maintenance release