Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 19.4.0.38

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.38                
NuGet\Install-Package Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 -Version 19.4.0.38                
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.38" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 --version 19.4.0.38                
#r "nuget: Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4, 19.4.0.38"                
#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.
// Install Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 as a Cake Addin
#addin nuget:?package=Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4&version=19.4.0.38

// Install Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 as a Cake Tool
#tool nuget:?package=Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4&version=19.4.0.38                

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.1.58 81 11/4/2024
27.1.57 92 10/28/2024
27.1.56 71 10/23/2024
27.1.55 77 10/21/2024
27.1.53 105 10/14/2024
27.1.52 79 10/7/2024
27.1.51 99 9/30/2024
27.1.50 91 9/23/2024
27.1.48 93 9/18/2024
26.2.14 96 9/9/2024
26.2.13 106 9/5/2024
26.2.12 96 9/2/2024
26.2.11 112 8/27/2024
26.2.10 105 8/19/2024
26.2.9 130 8/12/2024
26.2.8 80 8/5/2024
26.2.7 84 7/29/2024
26.2.5 92 7/26/2024
26.2.4 70 7/24/2024
26.1.42 91 7/15/2024
26.1.41 99 7/8/2024
26.1.40 108 7/1/2024
26.1.39 98 6/24/2024
26.1.38 110 6/18/2024
26.1.35 92 6/11/2024
25.2.7 106 6/3/2024
25.2.6 94 5/28/2024
25.2.5 110 5/21/2024
25.2.4 80 5/14/2024
25.2.3 110 5/8/2024
25.1.42 122 4/29/2024
25.1.41 115 4/23/2024
25.1.40 121 4/15/2024
25.1.39 122 4/8/2024
25.1.38 148 4/1/2024
25.1.37 139 3/26/2024
25.1.35 171 3/15/2024
24.2.9 239 3/4/2024
24.2.8 183 2/26/2024
24.2.7 276 2/19/2024
24.2.6 251 2/14/2024
24.2.5 276 2/12/2024
24.2.4 293 2/5/2024
24.2.3 286 1/31/2024
24.1.47 304 1/22/2024
24.1.46 332 1/16/2024
24.1.45 408 1/8/2024
24.1.44 362 1/2/2024
24.1.43 386 12/27/2023
24.1.41 454 12/18/2023
23.2.7 531 12/6/2023
23.2.6 494 11/28/2023
23.2.5 477 11/23/2023
23.2.4 480 11/20/2023
23.1.44 543 11/6/2023
23.1.43 535 10/30/2023
23.1.42 504 10/23/2023
23.1.41 521 10/16/2023
23.1.40 543 10/10/2023
23.1.39 570 10/4/2023
23.1.38 600 9/26/2023
23.1.36 560 9/15/2023
22.2.12 627 9/5/2023
22.2.11 648 8/28/2023
22.2.10 635 8/22/2023
22.2.9 642 8/14/2023
22.2.8 701 8/7/2023
22.2.7 690 8/2/2023
22.2.5 694 7/27/2023
22.1.39 712 7/18/2023
22.1.38 743 7/11/2023
22.1.37 714 7/3/2023
22.1.36 698 6/28/2023
22.1.34 725 6/21/2023
21.2.10 736 6/13/2023
21.2.9 703 6/6/2023
21.2.8 695 5/30/2023
21.2.6 704 5/22/2023
21.2.5 741 5/15/2023
21.2.4 723 5/9/2023
21.2.3 717 5/3/2023
21.1.41 752 4/19/2023
21.1.39 810 4/10/2023
21.1.38 810 4/3/2023
21.1.37 816 3/29/2023
21.1.35 818 3/23/2023
20.4.0.54 745 3/13/2023
20.4.0.53 782 3/7/2023
20.4.0.52 783 2/28/2023
20.4.0.51 832 2/21/2023
20.4.0.50 835 2/14/2023
20.4.0.49 889 2/7/2023
20.4.0.48 889 2/1/2023
20.4.0.44 882 1/18/2023
20.4.0.43 835 1/10/2023
20.4.0.42 920 1/4/2023
20.4.0.41 826 12/29/2022
20.4.0.40 860 12/28/2022
20.4.0.38 876 12/21/2022
20.3.0.61 880 12/12/2022
20.3.0.60 844 12/6/2022
20.3.0.59 865 11/29/2022
20.3.0.58 886 11/22/2022
20.3.0.57 878 11/15/2022
20.3.0.56 917 11/8/2022
20.3.0.52 977 10/27/2022
20.3.0.50 940 10/18/2022
20.3.0.49 1,023 10/11/2022
20.3.0.48 1,007 10/5/2022
20.3.0.47 1,014 9/29/2022
20.2.0.50 1,042 9/20/2022
20.2.0.49 1,022 9/13/2022
20.2.0.48 1,069 9/6/2022
20.2.0.46 1,061 8/30/2022
20.2.0.45 996 8/23/2022
20.2.0.44 1,019 8/16/2022
20.2.0.43 1,004 8/8/2022
20.2.0.40 994 7/26/2022
20.2.0.39 983 7/19/2022
20.2.0.38 1,049 7/12/2022
20.2.0.36 1,035 6/30/2022
20.1.0.61 1,048 6/20/2022
20.1.0.60 997 6/14/2022
20.1.0.59 1,040 6/6/2022
20.1.0.58 1,062 5/31/2022
20.1.0.57 1,027 5/23/2022
20.1.0.56 1,031 5/17/2022
20.1.0.55 1,037 5/12/2022
20.1.0.52 1,010 5/3/2022
20.1.0.51 1,089 4/26/2022
20.1.0.50 1,046 4/19/2022
20.1.0.48 1,039 4/12/2022
20.1.0.47 1,049 4/4/2022
19.4.0.56 1,047 3/14/2022
19.4.0.55 1,429 3/8/2022
19.4.0.54 1,039 2/28/2022
19.4.0.53 1,061 2/22/2022
19.4.0.52 1,044 2/15/2022
19.4.0.50 1,063 2/8/2022
19.4.0.48 1,051 1/31/2022
19.4.0.47 1,030 1/25/2022
19.4.0.43 1,020 1/18/2022
19.4.0.42 1,012 1/11/2022
19.4.0.41 857 1/4/2022
19.4.0.40 926 12/28/2021
19.4.0.38 873 12/17/2021
19.3.0.59 899 12/14/2021
19.3.0.57 914 12/7/2021
19.3.0.56 1,583 11/29/2021
19.3.0.55 911 11/23/2021
19.3.0.54 914 11/17/2021
19.3.0.53 969 11/12/2021
19.3.0.48 958 11/3/2021
19.3.0.47 1,012 10/26/2021
19.3.0.46 1,006 10/19/2021
19.3.0.45 1,004 10/12/2021
19.3.0.44 1,042 10/5/2021
19.3.0.43 998 9/30/2021
19.2.0.62 1,030 9/13/2021
19.2.0.60 1,014 9/7/2021
19.2.0.59 1,032 8/30/2021
19.2.0.57 1,018 8/24/2021
19.2.0.56 981 8/17/2021
19.2.0.55 1,047 8/11/2021
19.2.0.51 1,069 8/2/2021
19.2.0.49 1,048 7/26/2021
19.2.0.48 1,054 7/19/2021
19.2.0.47 1,078 7/13/2021
19.2.0.46 1,061 7/6/2021
19.2.0.44 1,118 6/30/2021
19.1.0.69 1,072 6/14/2021
19.1.0.67 1,074 6/7/2021
19.1.0.66 1,100 5/31/2021
19.1.0.65 1,043 5/24/2021
19.1.0.64 1,080 5/19/2021
19.1.0.63 1,088 5/13/2021
19.1.0.59 1,020 5/3/2021
19.1.0.58 1,048 4/26/2021
19.1.0.57 1,067 4/20/2021
19.1.0.56 1,054 4/13/2021
19.1.0.55 1,058 4/6/2021
19.1.0.54 1,091 3/30/2021
18.4.0.49 1,060 3/22/2021
18.4.0.48 1,050 3/16/2021
18.4.0.47 1,044 3/9/2021
18.4.0.46 1,041 3/2/2021
18.4.0.44 1,062 2/23/2021
18.4.0.43 1,062 2/15/2021
18.4.0.42 1,043 2/9/2021
18.4.0.41 1,030 2/2/2021
18.4.0.39 1,120 1/28/2021
18.4.0.35 1,051 1/19/2021
18.4.0.34 1,010 1/12/2021
18.4.0.33 1,051 1/4/2021
18.4.0.32 1,084 12/30/2020
18.4.0.31 1,097 12/22/2020
18.4.0.30 1,100 12/17/2020
18.3.0.53 1,122 12/8/2020
18.3.0.52 1,134 11/30/2020
18.3.0.51 1,117 11/23/2020
18.3.0.50 1,126 11/17/2020
18.3.0.48 1,086 11/10/2020
18.3.0.47 1,134 11/5/2020
18.3.0.44 1,152 10/27/2020
18.3.0.42 1,198 10/20/2020
18.3.0.40 1,177 10/12/2020
18.3.0.38 1,231 10/7/2020
18.3.0.35 1,143 10/1/2020
18.2.0.59 1,183 9/22/2020
18.2.0.58 1,200 9/15/2020
18.2.0.57 1,111 9/8/2020
18.2.0.56 1,155 9/1/2020
18.2.0.55 1,183 8/25/2020
18.2.0.54 1,131 8/18/2020
18.2.0.48 1,170 8/4/2020
18.2.0.47 1,204 7/28/2020
18.2.0.46 1,192 7/21/2020
18.2.0.45 1,208 7/14/2020
18.2.0.44 1,229 7/6/2020
18.1.0.59 1,251 6/23/2020
18.1.0.57 1,200 6/16/2020
18.1.0.56 1,175 6/9/2020
18.1.0.55 1,184 6/2/2020
18.1.0.54 1,209 5/27/2020
18.1.0.53 1,254 5/19/2020
18.1.0.52 1,230 5/13/2020
18.1.0.48 1,249 5/5/2020
18.1.0.46 1,170 4/28/2020
18.1.0.45 1,230 4/21/2020
18.1.0.44 1,219 4/14/2020
18.1.0.43 1,226 4/7/2020
18.1.0.42 1,225 4/1/2020
18.1.0.36-beta 1,012 3/19/2020
17.4.0.55 1,206 3/10/2020
17.4.0.53 1,231 3/3/2020
17.4.0.51 1,242 2/25/2020
17.4.0.50 1,226 2/18/2020
17.4.0.49 1,234 2/11/2020
17.4.0.47 1,263 2/5/2020
17.4.0.46 1,263 1/30/2020
17.4.0.44 1,212 1/21/2020
17.4.0.43 1,179 1/14/2020
17.4.0.41 1,277 1/7/2020
17.4.0.40 1,266 12/24/2019
17.4.0.39 1,244 12/17/2019
17.3.0.34 1,207 12/10/2019
17.3.0.33 1,233 12/4/2019
17.3.0.30 1,251 12/3/2019
17.3.0.29 1,237 11/26/2019
17.3.0.28 1,210 11/19/2019
17.3.0.27 1,322 11/12/2019
17.3.0.26 1,290 11/5/2019
17.3.0.21 1,264 10/29/2019
17.3.0.19 1,260 10/22/2019
17.3.0.17 1,312 10/15/2019
17.3.0.14 1,262 10/3/2019
17.3.0.9-beta 1,076 9/20/2019
17.2.0.51 1,260 9/10/2019
17.2.0.49 1,258 9/3/2019
17.2.0.47 1,290 8/27/2019
17.2.0.46 1,276 8/22/2019
17.2.0.41 1,224 8/13/2019
17.2.0.40 1,270 8/6/2019
17.2.0.39 1,344 7/30/2019
17.2.0.36 1,311 7/23/2019
17.2.0.35 1,292 7/17/2019
17.2.0.34 1,362 7/11/2019
17.2.0.28-beta 1,063 6/27/2019
17.1.0.53 1,312 6/25/2019
17.1.0.52 1,323 6/18/2019
17.1.0.51 1,264 6/11/2019
17.1.0.50 1,316 6/4/2019
17.1.0.49 1,267 5/28/2019
17.1.0.48 1,292 5/21/2019
17.1.0.47 1,364 5/14/2019
17.1.0.44 1,358 5/7/2019
17.1.0.43 1,347 4/30/2019
17.1.0.42 1,397 4/23/2019
17.1.0.41 1,328 4/16/2019
17.1.0.40 1,369 4/9/2019
17.1.0.38 1,385 3/29/2019
17.1.0.32-beta 1,075 3/13/2019
16.4.0.54 1,427 2/19/2019
16.4.0.53 1,337 2/14/2019
16.4.0.52 1,396 2/5/2019
16.4.0.48 1,410 1/22/2019
16.4.0.47 1,448 1/16/2019
16.4.0.46 1,469 1/8/2019
16.4.0.44 1,417 12/24/2018
16.4.0.42 1,371 12/17/2018
16.4.0.40-beta 1,170 12/10/2018
16.3.0.36 1,474 11/27/2018
16.3.0.35-beta 1,154 11/23/2018
16.3.0.29 1,524 10/30/2018
16.3.0.21 1,498 9/21/2018