Giter Site home page Giter Site logo

Comments (10)

danmoseley avatar danmoseley commented on May 18, 2024 5

This assembly eagerly attempts to load OleDB types - which is problematic unless and until we port OleDB to .NET Core. However it looks quite possible to segregate the OleDB types so that they are only loaded if the caller actually wants to use OleDB and this would be worth doing.

All the usage is in a single class ChartImage and it is all protected by checks like if (obj is OleDbDataAdapter). Those can likely be replaced with if (obj.GetType().FullName == "System.Data.OleDbDataAdapter") or similar -- and only if the test is true then would it call into a new class that would reference these types properly and cause them to load.

from winforms.

weltkante avatar weltkante commented on May 18, 2024 1

@davidnmbond apparently this is already mostly done, @merriemcgaw commented something along those lines in #510

from winforms.

danielabbatt avatar danielabbatt commented on May 18, 2024

I work on a project which generates charts server side into images and it would be great to get that onto Core as it's the only part of the app which still relies on .NET Framework.

from winforms.

davidnmbond avatar davidnmbond commented on May 18, 2024

Would love to see this - there is no reasonable way to achieve charting in .NET Core without it!
Is there a way I can do the required work?

from winforms.

kirsan31 avatar kirsan31 commented on May 18, 2024

We have DataVisualization in preview 4 now. And most of sad thing it's considered deprecated :((
I posted a question about it...

from winforms.

zsd4yr avatar zsd4yr commented on May 18, 2024

I have added guidance on using the new ported types to our porting guidelines https://github.com/dotnet/winforms/blob/master/Documentation/porting-guidelines.md#include-the-systemwindowsformsdatavisualization-pack

from winforms.

danineuss avatar danineuss commented on May 18, 2024

@zsd4yr
I am currently trying to port my application to .NET Core 3.x and have stumbled upon the not supported (...).DataVisualization.Charting library. Is this fixed today? The URL that you posted on April 19 '19 leads into 404 land ..

Thanks already 🙏🏽

from winforms.

weltkante avatar weltkante commented on May 18, 2024

You want to check the document in the release/3.0 branch. Its usable for initial porting but generally charting is not supported going forward to newer .NET versions, so you may run into bugs eventually when WinForms changes and this library wasn't updated. You can keep using it if you create your own build and maintain it yourself I assume, or switch to a different library with full external support.

from winforms.

RussKie avatar RussKie commented on May 18, 2024

The library is no longer officially supported.
The docs link: https://github.com/dotnet/winforms/blob/main/docs/porting-guidelines.md#include-the-systemwindowsformsdatavisualization-pack
Here's a package that should help you to migrate to .NET, but it won't work in the new designer: https://www.nuget.org/packages/System.Windows.Forms.DataVisualization.

from winforms.

danineuss avatar danineuss commented on May 18, 2024

from winforms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.