Cross-Platform Charting: ChartDirector for .NET 7.1 Crack

what's new
  • ChartDirector for .NET 7.0 supports cross-platform use, but only for .NET 6. This is because in .NET 7, Microsoft discontinued the .NET graphics library System.Drawing.Common for non-Windows use. Since ChartDirector for .NET 7.0 depends on this library, it no longer supports non-Windows usage on .NET 7.
  • The ChartDirector for .NET 7.1 NuGet package now includes a version of ChartDirector that uses SkiaSharp, an alternative graphics library distributed by Microsoft. For cross-platform projects targeting .NET 5 or later, Visual Studio will automatically use the SkiaSharp ChartDirector from the NuGet package. There are no changes for Windows-only or projects targeting earlier .NET versions.

 

 

behavior change
  • As mentioned in the previous section, for cross-platform projects targeting .NET 5 or higher, the graphics library will switch to SkiaSharp for compatibility with newer .NET versions. Due to this change, the appearance of the text will change slightly. This is usually not obvious.
    ***NOTE***: If your project is a web application and it is not configured to target Windows only, Visual Studio will assume it is cross-platform even if you are only using it on Windows. This means that if the project targets .NET or higher, it will switch to SkiaSharp.
  • If you use SkiaSharp instead of System.Drawing.Common, the ChartDirector API that references classes in System.Drawing.Common will not be available. For example, "BaseChart.makeImage", which returns the chart as a System.Drawing.Image object, will become unusable. This won't affect most programs because the ChartDirector API that references System.Drawing.Common is designed for Windows Forms and WPF applications. They are only available on Windows (Microsoft only supports Windows Forms and WPF on Windows) and will continue to use System.Drawing.Common.
  • SkiaSharp supports many operating systems and different flavors of Linux. However, Microsoft's standard SkiaSharp NuGet package only includes Windows and macOS support, which is sufficient for software development on Windows or macOS. To deploy the application to Linux or other operating systems, you need to add additional NuGet packages to the "SkiaSharp Assets" for those operating systems. See the Installation section of the ChartDirector for .NET documentation for details.

 

 

Upgrade Notes
  • ChartDirector for .NET 7.1 is designed to be compatible with previous versions of ChartDirector for .NET, which means existing code should continue to work. To upgrade to ChartDirector for .NET 7.1, simply replace the previous ChartDirector for .NET NuGet package with the ChartDirector for .NET 7.1 NuGet package in your project.
  • If your project is cross-platform and targets .NET 5 or higher, when you change the ChartDirector of the .NET 7.1 NuGet package, Visual Studio will choose the SkiaSharp ChartDirector, which does not automatically include Linux support. In order to support Linux, you need to add the additional NuGet package "SkiaSharp Assets" for Linux to your project.

 

 

ChartDirector for C++ 7.1。。。。。。。。。。

what's new
  • ChartDirector for C++ 7.1 adds support for the Qt Quick/QML framework. This is in addition to the MFC and Qt Widgets frameworks that ChartDirector already supports.
Upgrade Notes
  • ChartDirector for C++ 7.1 is designed to be compatible with earlier versions of ChartDirector for C++, which means existing code should continue to work.
  • To upgrade to ChartDirector for C++ 7.1, update the following files in the project with the files from ChartDirector for C++ 7.1.
    • Update ChartDirector header files (in ChartDirector/include)
    • Update ChartDirector DLL/Shared Objects (in ChartDirector/lib)
    • For MFC projects that use the CChartViewer control, update CChartViewer.cpp and CChartViewer.h with the contents from "ChartDirector/mfcdemo/helloworld".
    • For Qt projects using QChartViewer, please update QChartViewer.cpp and QChartViewer.h with the content from "ChartDirector/qtdemo/helloworld".

 

Guess you like

Origin blog.csdn.net/john_dwh/article/details/132461389