Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 19.4.0.43

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 --version 19.4.0.43
                    
NuGet\Install-Package Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 -Version 19.4.0.43
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4" Version="19.4.0.43" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4" Version="19.4.0.43" />
                    
Directory.Packages.props
<PackageReference Include="Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 --version 19.4.0.43
                    
#r "nuget: Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4, 19.4.0.43"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4@19.4.0.43
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4&version=19.4.0.43
                    
Install as a Cake Addin
#tool nuget:?package=Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4&version=19.4.0.43
                    
Install as a Cake Tool

Syncfusion ExcelChart-to-Image converter is a .NET class library for converting Excel chart to image in any ASP.NET MVC application without using Microsoft Office dependencies.

Key features

  • Following chart types are supported in Excel Chart To Image Conversion.

    • Area
    • Area_Stacked
    • Area_Stacked_100
    • Area_3D
    • Bar_Clustered
    • Bar_Stacked
    • Bar_Stacked_100
    • Bar_Clustered_3D
    • Bar_Stacked_3D
    • Bar_Stacked_100_3D
    • Bubble
    • Column_Clustered
    • Column_Stacked
    • Column_Stacked_100
    • Column_3D
    • Column_Clustered_3D
    • Column_Stacked_3D
    • Column_Stacked_100_3D
    • Doughnut
    • Doughnut_Exploded
    • Line
    • Line_Markers
    • Line_3D
    • Pie
    • Pie_Exploded
    • Pie_3D
    • Pie_Exploded_3D
    • Radar
    • Radar_Filled
    • Radar_Markers
    • Scatter_Line
    • Scatter_Line_Markers
    • Scatter_Markers
    • Scatter_SmoothedLine
    • Scatter_SmoothedLine_Markers
    • Stock_HighLowClose
    • Stock_OpenHighLowClose
    • Funnel
    • Waterfall
    • Histogram
    • Pareto
  • Following chart elements are supported in Excel Chart to Image Conversion.

    • Axis
    • Axis titles
    • Chart title
    • Data labels
    • Grid lines
    • Legend
    • Trend line

Getting Started

Installation commands

  • Simply run Install-Package Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 from the Package Manager Console in Visual Studio to fetch the NuGet package.
  • If you already have Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 for .NET and want to upgrade the version, please run Update-Package Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 to get the latest version.
  • You can run the following snippets in your environment to see how Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 works.

Convert the chart in Excel workbook to Image

The following code snippet explains how to convert an Excel chart to Image.

//Initialize ExcelEngine.
using (ExcelEngine excelEngine = new ExcelEngine())
{
    //Initialize IApplication.
    IApplication application = excelEngine.Excel;
	//Set the default version as Xlsx.
    application.DefaultVersion = ExcelVersion.Xlsx;
	//Initialize ChartToImageConverter.
    application.ChartToImageConverter = new ChartToImageConverter();
	//Set the Best scaling mode to ChartToImageConverter.
    application.ChartToImageConverter.ScalingMode = ScalingMode.Best;
	//Load an existing workbook into IWorkbook.
    IWorkbook workbook = application.Workbooks.Open(Server.MapPath("App_Data/Sample.xlsx"));
    //Get the worksheet into IWorksheet.
    IWorksheet worksheet = workbook.Worksheets[0];
	//Get the chart into IChart.
    IChart chart = worksheet.Charts[0];
    //Convert the Chart to Image
    MemoryStream stream = new MemoryStream();
    chart.SaveAsImage(stream);
    //Save the Image.
    Image image = Image.FromStream(stream);
    image.Save("Output.png");
}

Resources

Support and feedback

License

This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a licnense here or start a free 30-day trial here.

About Syncfusion

Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 26,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.

Today, we provide 1600+ components and frameworks for web (Blazor, ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and Flutter), mobile (Xamarin, Flutter, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, Flutter and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.

This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. To acquire a license, you can purchase one here or start a free 30-day trial here.


sales@syncfusion.com | www.syncfusion.com | Toll Free: 1-888-9 DOTNET

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
27.2.5 154 12/2/2024
27.2.4 119 11/26/2024
27.2.3 139 11/22/2024
27.2.2 138 11/15/2024
27.1.58 127 11/4/2024
27.1.57 132 10/28/2024
27.1.56 117 10/23/2024
27.1.55 124 10/21/2024
27.1.53 148 10/14/2024
27.1.52 123 10/7/2024
27.1.51 143 9/30/2024
27.1.50 138 9/23/2024
27.1.48 131 9/18/2024
26.2.14 130 9/9/2024
26.2.13 659 9/5/2024
26.2.12 130 9/2/2024
26.2.11 147 8/27/2024
26.2.10 147 8/19/2024
26.2.9 166 8/12/2024
26.2.8 117 8/5/2024
26.2.7 133 7/29/2024
26.2.5 126 7/26/2024
26.2.4 108 7/24/2024
26.1.42 135 7/15/2024
26.1.41 141 7/8/2024
26.1.40 147 7/1/2024
26.1.39 140 6/24/2024
26.1.38 140 6/18/2024
26.1.35 132 6/11/2024
25.2.7 144 6/3/2024
25.2.6 125 5/28/2024
25.2.5 139 5/21/2024
25.2.4 115 5/14/2024
25.2.3 141 5/8/2024
25.1.42 158 4/29/2024
25.1.41 153 4/23/2024
25.1.40 153 4/15/2024
25.1.39 155 4/8/2024
25.1.38 182 4/1/2024
25.1.37 167 3/26/2024
25.1.35 214 3/15/2024
24.2.9 273 3/4/2024
24.2.8 217 2/26/2024
24.2.7 310 2/19/2024
24.2.6 285 2/14/2024
24.2.5 307 2/12/2024
24.2.4 317 2/5/2024
24.2.3 322 1/31/2024
24.1.47 335 1/22/2024
24.1.46 364 1/16/2024
24.1.45 438 1/8/2024
24.1.44 387 1/2/2024
24.1.43 413 12/27/2023
24.1.41 485 12/18/2023
23.2.7 560 12/6/2023
23.2.6 520 11/28/2023
23.2.5 523 11/23/2023
23.2.4 517 11/20/2023
23.1.44 573 11/6/2023
23.1.43 569 10/30/2023
23.1.42 543 10/23/2023
23.1.41 564 10/16/2023
23.1.40 579 10/10/2023
23.1.39 605 10/4/2023
23.1.38 645 9/26/2023
23.1.36 594 9/15/2023
22.2.12 668 9/5/2023
22.2.11 706 8/28/2023
22.2.10 679 8/22/2023
22.2.9 694 8/14/2023
22.2.8 755 8/7/2023
22.2.7 744 8/2/2023
22.2.5 738 7/27/2023
22.1.39 767 7/18/2023
22.1.38 801 7/11/2023
22.1.37 766 7/3/2023
22.1.36 748 6/28/2023
22.1.34 778 6/21/2023
21.2.10 793 6/13/2023
21.2.9 760 6/6/2023
21.2.8 759 5/30/2023
21.2.6 760 5/22/2023
21.2.5 806 5/15/2023
21.2.4 788 5/9/2023
21.2.3 783 5/3/2023
21.1.41 816 4/19/2023
21.1.39 873 4/10/2023
21.1.38 867 4/3/2023
21.1.37 881 3/29/2023
21.1.35 885 3/23/2023
20.4.0.54 799 3/13/2023
20.4.0.53 863 3/7/2023
20.4.0.52 837 2/28/2023
20.4.0.51 888 2/21/2023
20.4.0.50 916 2/14/2023
20.4.0.49 947 2/7/2023
20.4.0.48 953 2/1/2023
20.4.0.44 951 1/18/2023
20.4.0.43 894 1/10/2023
20.4.0.42 984 1/4/2023
20.4.0.41 889 12/29/2022
20.4.0.40 923 12/28/2022
20.4.0.38 944 12/21/2022
20.3.0.61 949 12/12/2022
20.3.0.60 904 12/6/2022
20.3.0.59 931 11/29/2022
20.3.0.58 953 11/22/2022
20.3.0.57 943 11/15/2022
20.3.0.56 983 11/8/2022
20.3.0.52 1,043 10/27/2022
20.3.0.50 1,007 10/18/2022
20.3.0.49 1,084 10/11/2022
20.3.0.48 1,083 10/5/2022
20.3.0.47 1,086 9/29/2022
20.2.0.50 1,109 9/20/2022
20.2.0.49 1,097 9/13/2022
20.2.0.48 1,136 9/6/2022
20.2.0.46 1,134 8/30/2022
20.2.0.45 1,062 8/23/2022
20.2.0.44 1,094 8/16/2022
20.2.0.43 1,072 8/8/2022
20.2.0.40 1,070 7/26/2022
20.2.0.39 1,061 7/19/2022
20.2.0.38 1,130 7/12/2022
20.2.0.36 1,112 6/30/2022
20.1.0.61 1,124 6/20/2022
20.1.0.60 1,079 6/14/2022
20.1.0.59 1,113 6/6/2022
20.1.0.58 1,141 5/31/2022
20.1.0.57 1,110 5/23/2022
20.1.0.56 1,107 5/17/2022
20.1.0.55 1,117 5/12/2022
20.1.0.52 1,090 5/3/2022
20.1.0.51 1,172 4/26/2022
20.1.0.50 1,131 4/19/2022
20.1.0.48 1,124 4/12/2022
20.1.0.47 1,124 4/4/2022
19.4.0.56 1,134 3/14/2022
19.4.0.55 1,528 3/8/2022
19.4.0.54 1,122 2/28/2022
19.4.0.53 1,147 2/22/2022
19.4.0.52 1,136 2/15/2022
19.4.0.50 1,151 2/8/2022
19.4.0.48 1,141 1/31/2022
19.4.0.47 1,115 1/25/2022
19.4.0.43 1,110 1/18/2022
19.4.0.42 1,094 1/11/2022
19.4.0.41 944 1/4/2022
19.4.0.40 1,010 12/28/2021
19.4.0.38 964 12/17/2021
19.3.0.59 981 12/14/2021
19.3.0.57 1,015 12/7/2021
19.3.0.56 1,674 11/29/2021
19.3.0.55 996 11/23/2021
19.3.0.54 1,000 11/17/2021
19.3.0.53 1,057 11/12/2021
19.3.0.48 1,039 11/3/2021
19.3.0.47 1,095 10/26/2021
19.3.0.46 1,095 10/19/2021
19.3.0.45 1,093 10/12/2021
19.3.0.44 1,134 10/5/2021
19.3.0.43 1,087 9/30/2021
19.2.0.62 1,120 9/13/2021
19.2.0.60 1,104 9/7/2021
19.2.0.59 1,120 8/30/2021
19.2.0.57 1,122 8/24/2021
19.2.0.56 1,073 8/17/2021
19.2.0.55 1,133 8/11/2021
19.2.0.51 1,152 8/2/2021
19.2.0.49 1,127 7/26/2021
19.2.0.48 1,138 7/19/2021
19.2.0.47 1,163 7/13/2021
19.2.0.46 1,150 7/6/2021
19.2.0.44 1,196 6/30/2021
19.1.0.69 1,153 6/14/2021
19.1.0.67 1,158 6/7/2021
19.1.0.66 1,186 5/31/2021
19.1.0.65 1,129 5/24/2021
19.1.0.64 1,167 5/19/2021
19.1.0.63 1,176 5/13/2021
19.1.0.59 1,112 5/3/2021
19.1.0.58 1,141 4/26/2021
19.1.0.57 1,154 4/20/2021
19.1.0.56 1,146 4/13/2021
19.1.0.55 1,152 4/6/2021
19.1.0.54 1,184 3/30/2021
18.4.0.49 1,155 3/22/2021
18.4.0.48 1,145 3/16/2021
18.4.0.47 1,140 3/9/2021
18.4.0.46 1,143 3/2/2021
18.4.0.44 1,163 2/23/2021
18.4.0.43 1,159 2/15/2021
18.4.0.42 1,137 2/9/2021
18.4.0.41 1,120 2/2/2021
18.4.0.39 1,219 1/28/2021
18.4.0.35 1,143 1/19/2021
18.4.0.34 1,111 1/12/2021
18.4.0.33 1,150 1/4/2021
18.4.0.32 1,179 12/30/2020
18.4.0.31 1,190 12/22/2020
18.4.0.30 1,198 12/17/2020
18.3.0.53 1,217 12/8/2020
18.3.0.52 1,234 11/30/2020
18.3.0.51 1,220 11/23/2020
18.3.0.50 1,222 11/17/2020
18.3.0.48 1,192 11/10/2020
18.3.0.47 1,236 11/5/2020
18.3.0.44 1,262 10/27/2020
18.3.0.42 1,320 10/20/2020
18.3.0.40 1,277 10/12/2020
18.3.0.38 1,324 10/7/2020
18.3.0.35 1,238 10/1/2020
18.2.0.59 1,285 9/22/2020
18.2.0.58 1,297 9/15/2020
18.2.0.57 1,211 9/8/2020
18.2.0.56 1,248 9/1/2020
18.2.0.55 1,292 8/25/2020
18.2.0.54 1,232 8/18/2020
18.2.0.48 1,269 8/4/2020
18.2.0.47 1,312 7/28/2020
18.2.0.46 1,292 7/21/2020
18.2.0.45 1,302 7/14/2020
18.2.0.44 1,329 7/6/2020
18.1.0.59 1,353 6/23/2020
18.1.0.57 1,296 6/16/2020
18.1.0.56 1,278 6/9/2020
18.1.0.55 1,279 6/2/2020
18.1.0.54 1,318 5/27/2020
18.1.0.53 1,358 5/19/2020
18.1.0.52 1,334 5/13/2020
18.1.0.48 1,350 5/5/2020
18.1.0.46 1,273 4/28/2020
18.1.0.45 1,333 4/21/2020
18.1.0.44 1,328 4/14/2020
18.1.0.43 1,332 4/7/2020
18.1.0.42 1,334 4/1/2020
18.1.0.36-beta 1,109 3/19/2020
17.4.0.55 1,310 3/10/2020
17.4.0.53 1,338 3/3/2020
17.4.0.51 1,350 2/25/2020
17.4.0.50 1,340 2/18/2020
17.4.0.49 1,338 2/11/2020
17.4.0.47 1,371 2/5/2020
17.4.0.46 1,364 1/30/2020
17.4.0.44 1,319 1/21/2020
17.4.0.43 1,284 1/14/2020
17.4.0.41 1,378 1/7/2020
17.4.0.40 1,378 12/24/2019
17.4.0.39 1,353 12/17/2019
17.3.0.34 1,311 12/10/2019
17.3.0.33 1,337 12/4/2019
17.3.0.30 1,379 12/3/2019
17.3.0.29 1,345 11/26/2019
17.3.0.28 1,317 11/19/2019
17.3.0.27 1,424 11/12/2019
17.3.0.26 1,399 11/5/2019
17.3.0.21 1,374 10/29/2019
17.3.0.19 1,369 10/22/2019
17.3.0.17 1,430 10/15/2019
17.3.0.14 1,371 10/3/2019
17.3.0.9-beta 1,181 9/20/2019
17.2.0.51 1,374 9/10/2019
17.2.0.49 1,368 9/3/2019
17.2.0.47 1,394 8/27/2019
17.2.0.46 1,404 8/22/2019
17.2.0.41 1,333 8/13/2019
17.2.0.40 1,384 8/6/2019
17.2.0.39 1,468 7/30/2019
17.2.0.36 1,415 7/23/2019
17.2.0.35 1,412 7/17/2019
17.2.0.34 1,475 7/11/2019
17.2.0.28-beta 1,162 6/27/2019
17.1.0.53 1,431 6/25/2019
17.1.0.52 1,432 6/18/2019
17.1.0.51 1,377 6/11/2019
17.1.0.50 1,423 6/4/2019
17.1.0.49 1,376 5/28/2019
17.1.0.48 1,406 5/21/2019
17.1.0.47 1,472 5/14/2019
17.1.0.44 1,475 5/7/2019
17.1.0.43 1,462 4/30/2019
17.1.0.42 1,506 4/23/2019
17.1.0.41 1,440 4/16/2019
17.1.0.40 1,486 4/9/2019
17.1.0.38 1,499 3/29/2019
17.1.0.32-beta 1,184 3/13/2019
16.4.0.54 1,543 2/19/2019
16.4.0.53 1,447 2/14/2019
16.4.0.52 1,521 2/5/2019
16.4.0.48 1,519 1/22/2019
16.4.0.47 1,565 1/16/2019
16.4.0.46 1,579 1/8/2019
16.4.0.44 1,535 12/24/2018
16.4.0.42 1,493 12/17/2018
16.4.0.40-beta 1,282 12/10/2018
16.3.0.36 1,600 11/27/2018
16.3.0.35-beta 1,273 11/23/2018
16.3.0.29 1,653 10/30/2018
16.3.0.21 1,636 9/21/2018