Toggle navigation Highcharts
  • About Us
    • About Us
    • Job Openings
    • Contact Us
    • News
    • Resellers
  • Home
  • Products
    • Highcharts
    • Highstock
    • Highmaps
    • Mobile
    • Highcharts Cloud
    • Highcharts Editor
    • Wrappers
    • Plugins
  • Demo
    • Highcharts demos
    • Highstock demos
    • Highmaps demo
  • Docs
    • General Documentation
    • API Reference
    • Changelog
    • Roadmap
  • Support
    • Support
    • Download
  • Blog
  • Community
    • Project Showcase
    • Chart Code Showcase
    • Contribute
  • Buy
  • About Us
    • About Us
    • Job Openings
    • Contact Us
    • News
    • Resellers
Highcharts .NET 
  • Highcharts .NET
  • Highstock .NET
Docs 
  • Demos
  • API
  • Docs
  • See on NuGet
  • Download 
  • Demo
  • API
  • Docs
  • See on NuGet
  • Download 
Highcharts .NET
 Highcharts  Highstock
  • System Requirements
    • Server-Side System Requirements
    • Client-Side System Requirements
  • Add Highcharts .NET Reference to Visual Studio
    • Visual Studio .NET
    • Other IDEs / Web Projects
  • Your first chart for MVC
    • Introduction
    • Add reference to the view
    • Include JavaScript files
    • Define the chart in the view
    • Add data
  • Your first chart for Web Forms
    • Introduction
    • Add User Control
    • Create and render chart
    • Add User Control to the web page
list

Steps to upgrade your project to .NET Standard library

If you have previously used the Highcharts wrapper for .NET, some small adjustments need to be made to your code when upgrading to the .NET Standard version of Highcharts .NET, which uses Json.NET instead of JavaScriptSerializer.

Here are the steps required to upgrade your projects.

1. Uninstall .NET Framework wrapper from the your old project

2. Add Newtonsoft.Json v12 package from NuGet

3. Download library from NuGet. Choose Highsoft.Highcharts or Highsoft.Highstock package.

4. Add using directive to the view file

5. Remove the call to the GetHighcharts method

6. Create a Highcharts object with the following options

7. Assign the ID of the div render target using chartOptions.ID

8. Create the HighchartsRenderer object

9. Render to HTML

© 2023 Highcharts. All rights reserved.