Environment:
PC: Windows11 Operating System, Visual Studio 2022
Updated all NU get Packages in the solution to the latest version as of 02/23/2024. The latest release(6.2024.2.19)
Using your Maui demo solution. I am trying to export a chart.
It appears the Maui version does not support exporting charts. I am missing something? If I am correct when might this feature be available?
Code :
tChart1.Export.Image.JPEG.Save("Chart");
Error CS1061 'TChart' does not contain a definition for 'Export' and no accessible extension method 'Export' accepting a first argument of type 'TChart' could be found(are you missing a using directive or an assembly reference?) AppCoreMaui(net8.0), AppCoreMaui(net8.0-android), AppCoreMaui(net8.0-ios), AppCoreMaui(net8.0-maccatalyst), AppCoreMaui(net8.0-windows10.0.19041.0)
TeeChart MAUI : Can't export charts? Missing API
-
- Newbie
- Posts: 15
- Joined: Mon Jan 29, 2024 12:00 am
Re: TeeChart MAUI : Can't export charts? Missing API
Hello,
let me check what is the problem, prepare an example and send it to you.
Thanks
let me check what is the problem, prepare an example and send it to you.
Thanks
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 15
- Joined: Mon Jan 29, 2024 12:00 am
Re: TeeChart MAUI : Can't export charts? Missing API
I have added a few lines to your BarChart.xaml.cs file demonstrating the compile time error.
- Attachments
-
- BarChart.xaml.cs.zip
- (1.04 KiB) Downloaded 3178 times
-
- Newbie
- Posts: 15
- Joined: Mon Jan 29, 2024 12:00 am
Re: TeeChart MAUI : Can't export charts? Missing API
What happening? Have you verified this issue? Is there any update?
Re: TeeChart MAUI : Can't export charts? Missing API
Hello,
yes, we verified, the Export and Import funcionality is not available in the TeeChart NET MAUI version at the moment.
I've added this on our bug/wish list here.
We're working adding image export funcionality for next maintenance version.
In meantime, it might be the possibility to generate image directly from component (I mean by using Micrisoft MAUI code like it was possible by getting Context to image) but have not tried.
yes, we verified, the Export and Import funcionality is not available in the TeeChart NET MAUI version at the moment.
I've added this on our bug/wish list here.
We're working adding image export funcionality for next maintenance version.
In meantime, it might be the possibility to generate image directly from component (I mean by using Micrisoft MAUI code like it was possible by getting Context to image) but have not tried.
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 15
- Joined: Mon Jan 29, 2024 12:00 am
Re: TeeChart MAUI : Can't export charts? Missing API
What is happening on this issue?
I reported it six(6) months ago!
I reported it six(6) months ago!
Re: TeeChart MAUI : Can't export charts? Missing API
I'm affraid to say that this feature still not impemented. I'm taking note in order to change as urgent feature.
In meantime, there's a workaround on this tha should work without problem.
It's to generate a screenshot or image from device context. Here two examples of use:
link 1
link 2
Best regards!
In meantime, there's a workaround on this tha should work without problem.
It's to generate a screenshot or image from device context. Here two examples of use:
link 1
link 2
Best regards!
Pep Jorge
http://support.steema.com
http://support.steema.com