Steema / teechart-xamarin-forms-samples

TeeChart for Xamarin.Forms example projects
13 stars 8 forks source link

.NET Standard compatibility #1

Open bluekuen opened 4 years ago

bluekuen commented 4 years ago

Hello, i'm currently testing your plugin for my company and i'm curious now if it's really .NET Standard compatible. My superior told me to only look for .NET Standard compatible libraries and whilst testing i get following warning with the .NET Standard package: grafik

Is there going to be an update of this package or am i missing something? We are serious about purchasing your product but it has to be compatible with .NET Standard.

I'm looking forward for an answer!

Kind regards, bluekuen

chris-steema commented 4 years ago

Hello!

No, the Xamarin Forms Standard version is not .NET Standard compatible - it is a reduced, 'business' version of the full 'professional' version, as you can see here: https://steema.com/feature_matrix/forms

Steema does have a .NET Standard compatible Charting assembly, however, which is this one: https://www.nuget.org/packages/Steema.TeeChart.NETCore/

There are also .NET Core versions for Windows Forms and WPF.

bluekuen commented 4 years ago

Hello and thanks for the fast answer!

I get the following warning when trying to install:

grafik

chris-steema commented 4 years ago

You're welcome!

My mistake - the 'pure' .NET Standard assembly is in the following NuGet package: https://www.nuget.org/packages/Steema.TeeChart.NET/

Under the following directory: explorer_2020-08-04_16-39-52

bluekuen commented 4 years ago

great, that's what i was looking for! Can you tell me what charts i can create with it?

chris-steema commented 4 years ago

The .NET Feature Matrix is here: https://steema.com/feature_matrix/net

The NuGet package I pointed you to is the Pro version - so all of the chart types listed for Pro are available to you. The TeeChart.NETStandard.dll assembly is built in .NET Standard 2.0, meaning it is compatible with all the implementations listed in the table here: https://docs.microsoft.com/en-us/dotnet/standard/net-standard

I have added an example of how to use TeeChart.NETStandard.dll here: https://github.com/Steema/TeeChart-for-.NET-CSharp-WinForms-samples/tree/master/NETStandardFrameworkConsoleApp

Please note that the TeeChart.NETStandard.dll this example is using is under the 'netstandard2.0' folder - this is because the TeeChart.NETStandard.dll in the NuGet package I mentioned may have problems on instantiating instances of the class 'Chart' on some machines. This problem will be rectified in a future NuGet release.

bluekuen commented 4 years ago

Is the Xamarin.Forms package also going to be available for .NET Standard?

chris-steema commented 4 years ago

Is the Xamarin.Forms package also going to be available for .NET Standard?

In my understanding from the Documentation: https://docs.microsoft.com/en-us/dotnet/standard/net-standard

it's not that Xamarin.Forms or any other platform is available for .NET Standard, but rather than the .NET Standard APIs are available to different platforms - this means that the TeeChart.NETStandard.dll can already be used in Xamarin.Forms, as per this page:

https://docs.microsoft.com/en-us/xamarin/cross-platform/app-fundamentals/net-standard

bluekuen commented 4 years ago

Can you assist me on creating a chart with the net-standard package? I integrated the TeeChart.NETStandard.dll to my Xamarin.Forms Project, but i have problems adding a Chart to the XAML. I'm looking forward for your help as we sit on the fence of your and another charting lib.

Kind Regards, bluekuen

chris-steema commented 4 years ago

Can you assist me on creating a chart with the net-standard package?

We are presently preparing an example of how to use TeeChart.NETStandard with Xamarin.Forms and will advise you when it is ready.

bluekuen commented 4 years ago

Great, thanks in advance! Can you estimate how long it will take?

Greetings Bluekuen

chris-steema commented 4 years ago

Can you estimate how long it will take?

We plan to have it ready for you before 12h tomorrow.

bluekuen commented 4 years ago

That's perfect, appreciate it!

chris-steema commented 4 years ago

Unfortunately we are not going to be able to provide you with the example we promised. The issue is a technical one - TeeChart.NETStandard.dll - our .NET Standard 2.0 compatible TeeChart library - references the NuGet package System.Drawing.Common. This means that when TeeChart.NETStandard.dll is referenced in a Xamarin.Forms project, it will throw an error identical to the one described here. Of course we will be looking into this issue in more depth, but this does mean that we cannot provide you with the example you requested at this time.

bluekuen commented 4 years ago

Alright, thank you for the information! I'm on vacation for the next four weeks and i would be happy if an example was available by then. So far im very impressed by the good suport! Thanks again and kind regards bluekuen

bluekuen commented 4 years ago

Hello,

i'm back from vacaion and curious if you could already make progress with the .NET Standard version?

Kind regards, bluekuen

chris-steema commented 4 years ago

Hello!

we're due to have a meeting today to discuss progress on this issue; some has been made, but we are still quite a way from releasing anything to the public. I'll get back to you with something more definite later today.

bluekuen commented 4 years ago

Hello,

alright, thanks for the information!

Kind regards, bluekuen

chris-steema commented 4 years ago

Hello,

whoops, by 'today' I must have meant 'within the next 24 hours'! Apologies.

Yesterday we concluded that we would commit to the production of a .NET Standard assembly compatible with Xamarin Forms. We hope that within the next three weeks we will have a beta version we can made available for testing.

PepJorge commented 4 years ago

Hello bluekuen, just inform to you that a new TeeChart NET for Xamarin.Forms (with NETStandard compatibility) nuget package has been published. You can check it here.

bluekuen commented 4 years ago

Hello PepJorge,

these are great news! We will test it immediately! Thanks for informing!

Kind regards bluekuen

PepJorge commented 4 years ago

Hello Bluekuen, several weeks have been passed since last communication, just want to follow up about if have you've been able to test it and also if you're using the our library. In the case you need help on something, do not hesitate to contact us via email or through here.

Thanks

Best regards ! Pep