Does anyone know a good Chart NuGet Package for WPF available in .NET 3.1 or .NET 5.0?
Many NuGet Packages are deprectaed or don't have much documentation.
I already tried:
https://github.com/ScottPlot/ScottPlot
Best solution:
https://github.com/Live-Charts/Live-Charts
I've tried a few charts and it look fancy as hell.
In the github repo of livecharts there are many examples for wpf:
https://github.com/Live-Charts/Live-Charts/tree/master/Examples/Wpf
Related
This is my first time programming for windows platforms and I'm trying to do a UI/UX fluent and modern app. So, I've heard that the best over-platform way to do it is with vector animation and therefor with bodymotion and lottie, because the good design, soft movement and I could get the animations from a professional designer.
The problem is that I tried to install multiple times the nuget package for lottie animations in my WPF project as I read in the official web: https://learn.microsoft.com/en-au/windows/communitytoolkit/animations/lottie-scenarios/getting_started_json and I only obtained errors related to the framework version:
Could not install package 'Microsoft.Toolkit.Uwp.UI.Lottie'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.8', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Initially I thought that the problem was the .NET framework so I migrate the project to .NET Core. And then I've tried again and got:
Package Microsoft.Toolkit.Uwp.UI.Lottie 7.0.0-preview4 is not compatible with netcoreapp3.1 (.NETCoreApp,Version=v3.1). Package Microsoft.Toolkit.Uwp.UI.Lottie 7.0.0-preview4 supports: uap10.0.16299 (UAP,Version=v10.0.16299)
Microsoft.UI.Xaml nuget package requires TargetPlatformMinVersion >= 10.0.15063.0 (current project is -1)
Investigating I understood that the packages were created for UWP and not for WPF. Consequently I investigate about XAML Islands, that brings UWP functions to WPF, but they only work with xaml map, I could't use to install nuget packages.
I don't find more information and don't know what I'm doing wrong.
I wonder:
What alternatives I have to add some soft and good looking animated buttons? Preferably with a complete documentation
There is a way to use lottie in WPF? Or it is unnecessarily complicate?
Which is the traditional way to animate and work with natively in WP?
I am working with Spire.PdfViewer for a WPF Application.
After downloading the package, the Spire.PdfViewer.Wpf.dll should be found in the bin folder of my project. Unfortunately I'm not able to find the library on my network.
The documentation is found under this link:
http://www.e-iceblue.com/Tutorials/Spire.PDFViewer/Demos/Quick-guide/WPF-How-to-add-Controls-to-Toolbox.html
Thank you
According to the description for Spire.PDFViewer NuGet package on the official site, it mentioned that “With Spire.PDFViewer, developers can create any WinForms application to open, view and print PDF document in C# and Visual Basic on .NET”. It is a free version for .NET.
For the version for WPF, you need to buy download the Spire.PDFViewer Pack from below link, which contains Spire.PDFViewer for WPF components.
http://www.e-iceblue.com/Introduce/word-viewer-wpf-introduce.html#.V8Uzrih94z4
After installing, please choose the Spire.PdfViewer.Wpf.dll from C:\Program Files (x86)\e-iceblue\Spire.PdfViewer\Bin\WPF4.0. Then you can add PDFViewer controls into Toolbox.
We have a Silverlight 5 project and we currently have a folder of shared library DLL's. We are in the process of changing to use NuGet for these libraries wherever possible.
One of the NuGet packages we want to use is MVVMLight, to replace the MVVM Light SL4 DLL's we are currently using, which were never upgraded when we moved from SL4 to SL5.
However, when we installed the NuGet package containing the SL5 DLL's it automatically changed our existing references to the Microsoft.Practices.ServiceLocation DLL file to one which came with the MVVM Light package, which has the same version number, but a different public key.
This has caused a conflict with some of our other code which is using the Prism library, which uses the Microsoft.Practices.ServiceLocation DLL, but, signed with the original public key.
Obviously we cannot use the same named DLL twice in the same folder, so, any suggestion on how to resolve this issue, whilst keeping both Prism and MVVM Light packages installed from NuGet.
Thanks very much,
Martyn.
I have exactly the same problem with Microsoft.Practices.ServiceLocation.dll. In my case, this could be resolve if the nuget package of MvvmLight was dependent of CommonServiceLocator as I suggested here : http://mvvmlight.codeplex.com/discussions/429311
So far, no news about that.
Edit : Laurent just push a version of MVVM Light using the CommonServiceLocator from Nuget.
The Portable.CommonServiceLocator NuGet package contains the existing signed CSL binaries as well as the PCL one that supports windows 8, .net 4.5 and others. Still waiting on Microsoft to include the PCL in their official package, but the binaries are the same in the one I mentioned.
You can also try using Portable.MvvmLightLibs, which is a PCL version. That one supports all of the frameworks (WP7.5+, .NET 4.5, Store, SL4+) and uses the official Microsoft-signed CSL libraries.
I just found this theme http://timheuer.com/blog/archive/2010/09/09/silverlight-jetpack-theme-released.aspx which you can download within this package http://www.microsoft.com/en-us/download/details.aspx?id=14590.
But, the VSIX addon files are not compatible with VS 2012, and I have no idea how I may use the raw XAML files in my project.
Hope anybody can help out, and I can use this one in my project!
Best regards,
Simon
Unfortunately, it's not that easy to just use a Silverlight theme in LightSwitch.
I've been meaning to create some new LightSwitch themes to add to my Luminous Themes for LightSwitch extension, but I just haven't had time.
Adapting the available Silverlight themes for use in LightSwitch is on my to do list. My themes are made available to the community at no cost.
Themes similar to what you want are available as a paid product at LightSwitch Extras.
I need to create charts for WP Mango. Therefore I have a couple of "what/how" questions which might be interesting:
What...
...frameworks or tools use for this purpose?
...better to use, Silverlight or XNA (or mix)?
...to read, download, avoid etc.?
...pitfalls in charts creation (even not for WP)?
The same Data Visualization project that supports charting on WPF and Silverlight supports Windows Phone 7. Download the package and the data visualization demos from Delay's Blog:
Phone-y charts [Silverlight/WPF Data Visualization Development Release 4 and Windows Phone 7 Charting sample!]
Look at Telerik RadChart for WP7
I have found only 2 free Windows Phone chart libraries. Here are my posts with overview of these libraries:
Silverlight Toolkit
AmCharts
At the end of my posts I posted links to sample applications, so you can download and test them without writing your own samples.