Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 19.3.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.3.0.43
                    
NuGet\Install-Package Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 -Version 19.3.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.3.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.3.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.3.0.43
                    
#r "nuget: Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4, 19.3.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.3.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.3.0.43
                    
Install as a Cake Addin
#tool nuget:?package=Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4&version=19.3.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 144 12/2/2024
27.2.4 113 11/26/2024
27.2.3 133 11/22/2024
27.2.2 133 11/15/2024
27.1.58 119 11/4/2024
27.1.57 127 10/28/2024
27.1.56 111 10/23/2024
27.1.55 111 10/21/2024
27.1.53 139 10/14/2024
27.1.52 118 10/7/2024
27.1.51 136 9/30/2024
27.1.50 133 9/23/2024
27.1.48 124 9/18/2024
26.2.14 123 9/9/2024
26.2.13 479 9/5/2024
26.2.12 124 9/2/2024
26.2.11 140 8/27/2024
26.2.10 142 8/19/2024
26.2.9 161 8/12/2024
26.2.8 110 8/5/2024
26.2.7 126 7/29/2024
26.2.5 122 7/26/2024
26.2.4 103 7/24/2024
26.1.42 126 7/15/2024
26.1.41 128 7/8/2024
26.1.40 139 7/1/2024
26.1.39 129 6/24/2024
26.1.38 136 6/18/2024
26.1.35 126 6/11/2024
25.2.7 136 6/3/2024
25.2.6 119 5/28/2024
25.2.5 134 5/21/2024
25.2.4 108 5/14/2024
25.2.3 134 5/8/2024
25.1.42 150 4/29/2024
25.1.41 145 4/23/2024
25.1.40 145 4/15/2024
25.1.39 150 4/8/2024
25.1.38 175 4/1/2024
25.1.37 162 3/26/2024
25.1.35 206 3/15/2024
24.2.9 268 3/4/2024
24.2.8 211 2/26/2024
24.2.7 307 2/19/2024
24.2.6 277 2/14/2024
24.2.5 300 2/12/2024
24.2.4 313 2/5/2024
24.2.3 317 1/31/2024
24.1.47 328 1/22/2024
24.1.46 360 1/16/2024
24.1.45 432 1/8/2024
24.1.44 382 1/2/2024
24.1.43 407 12/27/2023
24.1.41 478 12/18/2023
23.2.7 554 12/6/2023
23.2.6 517 11/28/2023
23.2.5 519 11/23/2023
23.2.4 510 11/20/2023
23.1.44 567 11/6/2023
23.1.43 562 10/30/2023
23.1.42 535 10/23/2023
23.1.41 552 10/16/2023
23.1.40 572 10/10/2023
23.1.39 598 10/4/2023
23.1.38 637 9/26/2023
23.1.36 587 9/15/2023
22.2.12 656 9/5/2023
22.2.11 694 8/28/2023
22.2.10 666 8/22/2023
22.2.9 681 8/14/2023
22.2.8 741 8/7/2023
22.2.7 729 8/2/2023
22.2.5 725 7/27/2023
22.1.39 753 7/18/2023
22.1.38 787 7/11/2023
22.1.37 752 7/3/2023
22.1.36 735 6/28/2023
22.1.34 764 6/21/2023
21.2.10 778 6/13/2023
21.2.9 747 6/6/2023
21.2.8 744 5/30/2023
21.2.6 744 5/22/2023
21.2.5 786 5/15/2023
21.2.4 771 5/9/2023
21.2.3 767 5/3/2023
21.1.41 797 4/19/2023
21.1.39 855 4/10/2023
21.1.38 852 4/3/2023
21.1.37 864 3/29/2023
21.1.35 867 3/23/2023
20.4.0.54 786 3/13/2023
20.4.0.53 846 3/7/2023
20.4.0.52 823 2/28/2023
20.4.0.51 874 2/21/2023
20.4.0.50 900 2/14/2023
20.4.0.49 932 2/7/2023
20.4.0.48 938 2/1/2023
20.4.0.44 931 1/18/2023
20.4.0.43 880 1/10/2023
20.4.0.42 967 1/4/2023
20.4.0.41 872 12/29/2022
20.4.0.40 908 12/28/2022
20.4.0.38 926 12/21/2022
20.3.0.61 934 12/12/2022
20.3.0.60 890 12/6/2022
20.3.0.59 914 11/29/2022
20.3.0.58 938 11/22/2022
20.3.0.57 929 11/15/2022
20.3.0.56 967 11/8/2022
20.3.0.52 1,027 10/27/2022
20.3.0.50 987 10/18/2022
20.3.0.49 1,070 10/11/2022
20.3.0.48 1,060 10/5/2022
20.3.0.47 1,066 9/29/2022
20.2.0.50 1,091 9/20/2022
20.2.0.49 1,079 9/13/2022
20.2.0.48 1,122 9/6/2022
20.2.0.46 1,118 8/30/2022
20.2.0.45 1,046 8/23/2022
20.2.0.44 1,079 8/16/2022
20.2.0.43 1,057 8/8/2022
20.2.0.40 1,053 7/26/2022
20.2.0.39 1,044 7/19/2022
20.2.0.38 1,111 7/12/2022
20.2.0.36 1,095 6/30/2022
20.1.0.61 1,105 6/20/2022
20.1.0.60 1,061 6/14/2022
20.1.0.59 1,097 6/6/2022
20.1.0.58 1,124 5/31/2022
20.1.0.57 1,091 5/23/2022
20.1.0.56 1,090 5/17/2022
20.1.0.55 1,100 5/12/2022
20.1.0.52 1,075 5/3/2022
20.1.0.51 1,157 4/26/2022
20.1.0.50 1,113 4/19/2022
20.1.0.48 1,107 4/12/2022
20.1.0.47 1,107 4/4/2022
19.4.0.56 1,115 3/14/2022
19.4.0.55 1,512 3/8/2022
19.4.0.54 1,104 2/28/2022
19.4.0.53 1,128 2/22/2022
19.4.0.52 1,115 2/15/2022
19.4.0.50 1,134 2/8/2022
19.4.0.48 1,124 1/31/2022
19.4.0.47 1,099 1/25/2022
19.4.0.43 1,093 1/18/2022
19.4.0.42 1,078 1/11/2022
19.4.0.41 927 1/4/2022
19.4.0.40 993 12/28/2021
19.4.0.38 947 12/17/2021
19.3.0.59 965 12/14/2021
19.3.0.57 997 12/7/2021
19.3.0.56 1,657 11/29/2021
19.3.0.55 981 11/23/2021
19.3.0.54 985 11/17/2021
19.3.0.53 1,039 11/12/2021
19.3.0.48 1,024 11/3/2021
19.3.0.47 1,079 10/26/2021
19.3.0.46 1,081 10/19/2021
19.3.0.45 1,076 10/12/2021
19.3.0.44 1,114 10/5/2021
19.3.0.43 1,069 9/30/2021
19.2.0.62 1,102 9/13/2021
19.2.0.60 1,088 9/7/2021
19.2.0.59 1,102 8/30/2021
19.2.0.57 1,105 8/24/2021
19.2.0.56 1,057 8/17/2021
19.2.0.55 1,115 8/11/2021
19.2.0.51 1,137 8/2/2021
19.2.0.49 1,112 7/26/2021
19.2.0.48 1,123 7/19/2021
19.2.0.47 1,148 7/13/2021
19.2.0.46 1,133 7/6/2021
19.2.0.44 1,181 6/30/2021
19.1.0.69 1,138 6/14/2021
19.1.0.67 1,144 6/7/2021
19.1.0.66 1,166 5/31/2021
19.1.0.65 1,113 5/24/2021
19.1.0.64 1,149 5/19/2021
19.1.0.63 1,161 5/13/2021
19.1.0.59 1,097 5/3/2021
19.1.0.58 1,126 4/26/2021
19.1.0.57 1,138 4/20/2021
19.1.0.56 1,130 4/13/2021
19.1.0.55 1,131 4/6/2021
19.1.0.54 1,168 3/30/2021
18.4.0.49 1,139 3/22/2021
18.4.0.48 1,128 3/16/2021
18.4.0.47 1,121 3/9/2021
18.4.0.46 1,123 3/2/2021
18.4.0.44 1,146 2/23/2021
18.4.0.43 1,140 2/15/2021
18.4.0.42 1,118 2/9/2021
18.4.0.41 1,103 2/2/2021
18.4.0.39 1,200 1/28/2021
18.4.0.35 1,125 1/19/2021
18.4.0.34 1,091 1/12/2021
18.4.0.33 1,132 1/4/2021
18.4.0.32 1,163 12/30/2020
18.4.0.31 1,172 12/22/2020
18.4.0.30 1,181 12/17/2020
18.3.0.53 1,201 12/8/2020
18.3.0.52 1,215 11/30/2020
18.3.0.51 1,202 11/23/2020
18.3.0.50 1,205 11/17/2020
18.3.0.48 1,168 11/10/2020
18.3.0.47 1,217 11/5/2020
18.3.0.44 1,243 10/27/2020
18.3.0.42 1,302 10/20/2020
18.3.0.40 1,258 10/12/2020
18.3.0.38 1,307 10/7/2020
18.3.0.35 1,219 10/1/2020
18.2.0.59 1,265 9/22/2020
18.2.0.58 1,278 9/15/2020
18.2.0.57 1,191 9/8/2020
18.2.0.56 1,232 9/1/2020
18.2.0.55 1,273 8/25/2020
18.2.0.54 1,216 8/18/2020
18.2.0.48 1,251 8/4/2020
18.2.0.47 1,293 7/28/2020
18.2.0.46 1,272 7/21/2020
18.2.0.45 1,286 7/14/2020
18.2.0.44 1,312 7/6/2020
18.1.0.59 1,333 6/23/2020
18.1.0.57 1,278 6/16/2020
18.1.0.56 1,259 6/9/2020
18.1.0.55 1,262 6/2/2020
18.1.0.54 1,300 5/27/2020
18.1.0.53 1,341 5/19/2020
18.1.0.52 1,318 5/13/2020
18.1.0.48 1,334 5/5/2020
18.1.0.46 1,257 4/28/2020
18.1.0.45 1,317 4/21/2020
18.1.0.44 1,308 4/14/2020
18.1.0.43 1,314 4/7/2020
18.1.0.42 1,318 4/1/2020
18.1.0.36-beta 1,092 3/19/2020
17.4.0.55 1,293 3/10/2020
17.4.0.53 1,322 3/3/2020
17.4.0.51 1,335 2/25/2020
17.4.0.50 1,323 2/18/2020
17.4.0.49 1,321 2/11/2020
17.4.0.47 1,353 2/5/2020
17.4.0.46 1,347 1/30/2020
17.4.0.44 1,302 1/21/2020
17.4.0.43 1,267 1/14/2020
17.4.0.41 1,361 1/7/2020
17.4.0.40 1,361 12/24/2019
17.4.0.39 1,335 12/17/2019
17.3.0.34 1,293 12/10/2019
17.3.0.33 1,320 12/4/2019
17.3.0.30 1,358 12/3/2019
17.3.0.29 1,326 11/26/2019
17.3.0.28 1,299 11/19/2019
17.3.0.27 1,409 11/12/2019
17.3.0.26 1,380 11/5/2019
17.3.0.21 1,355 10/29/2019
17.3.0.19 1,350 10/22/2019
17.3.0.17 1,411 10/15/2019
17.3.0.14 1,348 10/3/2019
17.3.0.9-beta 1,164 9/20/2019
17.2.0.51 1,355 9/10/2019
17.2.0.49 1,350 9/3/2019
17.2.0.47 1,374 8/27/2019
17.2.0.46 1,384 8/22/2019
17.2.0.41 1,315 8/13/2019
17.2.0.40 1,361 8/6/2019
17.2.0.39 1,450 7/30/2019
17.2.0.36 1,399 7/23/2019
17.2.0.35 1,392 7/17/2019
17.2.0.34 1,455 7/11/2019
17.2.0.28-beta 1,145 6/27/2019
17.1.0.53 1,411 6/25/2019
17.1.0.52 1,414 6/18/2019
17.1.0.51 1,357 6/11/2019
17.1.0.50 1,405 6/4/2019
17.1.0.49 1,358 5/28/2019
17.1.0.48 1,385 5/21/2019
17.1.0.47 1,454 5/14/2019
17.1.0.44 1,452 5/7/2019
17.1.0.43 1,444 4/30/2019
17.1.0.42 1,488 4/23/2019
17.1.0.41 1,420 4/16/2019
17.1.0.40 1,467 4/9/2019
17.1.0.38 1,479 3/29/2019
17.1.0.32-beta 1,164 3/13/2019
16.4.0.54 1,522 2/19/2019
16.4.0.53 1,427 2/14/2019
16.4.0.52 1,501 2/5/2019
16.4.0.48 1,498 1/22/2019
16.4.0.47 1,544 1/16/2019
16.4.0.46 1,560 1/8/2019
16.4.0.44 1,515 12/24/2018
16.4.0.42 1,470 12/17/2018
16.4.0.40-beta 1,262 12/10/2018
16.3.0.36 1,579 11/27/2018
16.3.0.35-beta 1,247 11/23/2018
16.3.0.29 1,631 10/30/2018
16.3.0.21 1,612 9/21/2018