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

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
TLC
Newbie
Newbie
Posts: 82
Joined: Mon Apr 08, 2019 12:00 am

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

Post by TLC » Wed Jan 15, 2025 12:32 am

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

Pep
Site Admin
Site Admin
Posts: 3311
Joined: Fri Nov 14, 2003 5:00 am
Contact:

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

Post by Pep » Wed Jan 15, 2025 9:03 am

Hello,
let me check and back to you asap.

TLC
Newbie
Newbie
Posts: 82
Joined: Mon Apr 08, 2019 12:00 am

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

Post by TLC » Fri Jan 17, 2025 7:35 pm

Any news?

Pep
Site Admin
Site Admin
Posts: 3311
Joined: Fri Nov 14, 2003 5:00 am
Contact:

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

Post by Pep » Mon Jan 20, 2025 11:32 pm

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!

TLC
Newbie
Newbie
Posts: 82
Joined: Mon Apr 08, 2019 12:00 am

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

Post by TLC » Tue Jan 21, 2025 5:18 am

I tried it with Xaml and C# only; both do not display.

Pep
Site Admin
Site Admin
Posts: 3311
Joined: Fri Nov 14, 2003 5:00 am
Contact:

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

Post by Pep » Tue Jan 21, 2025 5:46 pm

Hello,

can you please check with the attache example ?
It's working fine here.
Attachments
MauiTest.zip
(223.85 KiB) Downloaded 146 times

TLC
Newbie
Newbie
Posts: 82
Joined: Mon Apr 08, 2019 12:00 am

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

Post by TLC » Wed Jan 22, 2025 2:25 am

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).
Last edited by TLC on Wed Jan 22, 2025 2:41 pm, edited 1 time in total.

Pep
Site Admin
Site Admin
Posts: 3311
Joined: Fri Nov 14, 2003 5:00 am
Contact:

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

Post by Pep » Wed Jan 22, 2025 9:16 am

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

TLC
Newbie
Newbie
Posts: 82
Joined: Mon Apr 08, 2019 12:00 am

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

Post by TLC » Wed Jan 22, 2025 2:41 pm

Those were with your zip file, and they all rendered as expected.

Pep
Site Admin
Site Admin
Posts: 3311
Joined: Fri Nov 14, 2003 5:00 am
Contact:

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

Post by Pep » Thu Jan 23, 2025 3:20 pm

Hello,
would be possible to send us the example ? or part so we can reproduce it here ?

thanks

Post Reply