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 2558

Summary: LegendPalette tool doesn't render in .net6.0
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: .NET 5.0Assignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description christopher ireland 2022-10-04 06:06:25 EDT
The following code correctly renders the LegendPalette tool in .NET Framework 4.0 but does not render it at all in .net6.0

    public Form1()
    {
      InitializeComponent();
      InitializeChart();
    }

    private void InitializeChart()
    {
      tChart1.Series.Add(typeof(Surface)).FillSampleValues();
      tChart1.Aspect.View3D = true;
      tChart1.Aspect.Chart3DPercent = 50;
      tChart1.Aspect.Zoom = 90;
      _ = new LegendPalette(tChart1.Chart)
      {
        Series = tChart1[0]
      };

      tChart1.Header.Text += $" version {Utils.Version}";
    }