Page 1 of 1

Steema.TeeChart v6.2025.1.13 doesn't render in MAUI app

Posted: Wed Jan 15, 2025 12:32 am
by 18286055
Steema.TeeChart v6.2025.1.13 doesn't show up / nothing is rendered in a MAUI app for both iOS and Android

Code: Select all

	using Steema.TeeChart.Maui;
	using Steema.TeeChart.Styles;



	namespace Project;

	#if DEBUG

	public sealed class DebugTChart : ContentPage
	{
		private readonly TChart _tChart;
		private readonly Line   _line;
		public DebugTChart() : base()
		{
			Content = _tChart = new TChart();
			_line   = new Line( _tChart.Chart );
			_tChart.Chart.Series.Add( _line );
		}

		protected override void OnAppearing() { _line.FillSampleValues(); }
	}
	#endif

Re: Steema.TeeChart v6.2025.1.13 doesn't render in MAUI app

Posted: Wed Jan 15, 2025 9:03 am
by Pep
Hello,
let me check and back to you asap.

Re: Steema.TeeChart v6.2025.1.13 doesn't render in MAUI app

Posted: Fri Jan 17, 2025 7:35 pm
by 18286055
Any news?

Re: Steema.TeeChart v6.2025.1.13 doesn't render in MAUI app

Posted: Mon Jan 20, 2025 11:32 pm
by Pep
Hello,
yes, you're correct. We're able to reproduce the problem here.
For the momment you should be able to create the tChart component at the xml file, by using

Code: Select all

            <controls:TChart x:Name="_tChart" Drawable="{Binding Source={RelativeSource Self}}"
                          HeightRequest="400"
                          HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" />
Cheched here and it works fine iwth latest nuget version package.
Amyway, we're going to add and fix and funcionality and create a new nuget version package that includes it.

Thanks!

Re: Steema.TeeChart v6.2025.1.13 doesn't render in MAUI app

Posted: Tue Jan 21, 2025 5:18 am
by 18286055
I tried it with Xaml and C# only; both do not display.

Re: Steema.TeeChart v6.2025.1.13 doesn't render in MAUI app

Posted: Tue Jan 21, 2025 5:46 pm
by Pep
Hello,

can you please check with the attache example ?
It's working fine here.

Re: Steema.TeeChart v6.2025.1.13 doesn't render in MAUI app

Posted: Wed Jan 22, 2025 2:25 am
by 18286055
Tried the following with your zip file:
  • As is in Net 8.0 / Maui.Controls 8.0.100
  • Update to Net 9.0 / Maui.Controls 9.0.30
  • XAML and comment out Content assignment in cs file
  • Content assignment in cs file
All renders as expected.

My project still doesn't, for reasons unknown. I also tried the simple debug page (see above in first comment).

Re: Steema.TeeChart v6.2025.1.13 doesn't render in MAUI app

Posted: Wed Jan 22, 2025 9:16 am
by Pep
Hello,
ok, will try the steps you mention, but I need also to know if the project I sent to you is working to you without doing any chane on it, it should work.

Thanks

Re: Steema.TeeChart v6.2025.1.13 doesn't render in MAUI app

Posted: Wed Jan 22, 2025 2:41 pm
by 18286055
Those were with your zip file, and they all rendered as expected.

Re: Steema.TeeChart v6.2025.1.13 doesn't render in MAUI app

Posted: Thu Jan 23, 2025 3:20 pm
by Pep
Hello,
would be possible to send us the example ? or part so we can reproduce it here ?

thanks