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 - Guge gives an error just placing it on a form
Summary: Guge gives an error just placing it on a form
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: .NET 5.0 (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- critical
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-21 03:29 EST by Luigi Casalegno
Modified: 2024-03-20 05:07 EDT (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
test that shows the bug (10.40 KB, application/x-zip-compressed)
2023-12-21 03:29 EST, Luigi Casalegno
Details

Note You need to log in before you can comment on or make changes to this 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