Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1479
Chart issues migrating to net6
posted

I'm migrating a winforms project from .net 4.7.2 to dotnet 6. The 4.7.2 project is using  v22.1 of the controls. In as much as I'm not getting compilation errors, it seems to have mostly worked, but I'm having a few errors relating to the chart controls. I've added Infragistics.WinForms.Charts 22.1.71 via our private nuget feed, but I'm getting the following compile time errors:

  • Type Infragistics.Win.UltrWinChart.UltraChart' is not defined
  • Type 'ChartDataEventArgs' is not defined
  • Event 'ChartDataClicked' cannot be found

Any suggestions as to what might be the issue? Looking in a new project and dropping a chart control on a form, it looks like the chart controls might now be under Infragistics.Win.DataVisualization? I'm a little confused by that, as I'd have expected APIs to be more or less the same for the same major/minor version?

Parents
No Data
Reply
  • 7555
    Offline posted

    Hello Kavin,

    Thank you for the post.

    I totally understand the confusion about the chart packages, here I am trying to explain , so we had ultraChart which is old control and almost retired , ultraChart is been replaced by ultraDataChart which is a new control and comparatively more efficient. We have dlls available for both the controls but for the NuGet we have packages for only UltraDataChart.

    So for UltraDataChart you would need to include chart package which will include dataVisulaization and portable core assemblies. Attached screenshot for the reference.(adding packages from the license feed)

    So may I know 1st which chart control you are using ultraChart or UltraDatachart?

Children