Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 19.4.0.40

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. 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.40
NuGet\Install-Package Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4 -Version 19.4.0.40
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.40" />
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.40
#r "nuget: Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4, 19.4.0.40"
#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.40

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

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
26.1.35 60 6/11/2024
25.2.7 76 6/3/2024
25.2.6 65 5/28/2024
25.2.5 83 5/21/2024
25.2.4 57 5/14/2024
25.2.3 87 5/8/2024
25.1.42 100 4/29/2024
25.1.41 83 4/23/2024
25.1.40 92 4/15/2024
25.1.39 96 4/8/2024
25.1.38 119 4/1/2024
25.1.37 107 3/26/2024
25.1.35 148 3/15/2024
24.2.9 208 3/4/2024
24.2.8 151 2/26/2024
24.2.7 252 2/19/2024
24.2.6 226 2/14/2024
24.2.5 247 2/12/2024
24.2.4 270 2/5/2024
24.2.3 261 1/31/2024
24.1.47 277 1/22/2024
24.1.46 306 1/16/2024
24.1.45 380 1/8/2024
24.1.44 337 1/2/2024
24.1.43 362 12/27/2023
24.1.41 431 12/18/2023
23.2.7 508 12/6/2023
23.2.6 460 11/28/2023
23.2.5 446 11/23/2023
23.2.4 455 11/20/2023
23.1.44 520 11/6/2023
23.1.43 513 10/30/2023
23.1.42 478 10/23/2023
23.1.41 500 10/16/2023
23.1.40 514 10/10/2023
23.1.39 545 10/4/2023
23.1.38 576 9/26/2023
23.1.36 529 9/15/2023
22.2.12 594 9/5/2023
22.2.11 624 8/28/2023
22.2.10 605 8/22/2023
22.2.9 618 8/14/2023
22.2.8 674 8/7/2023
22.2.7 663 8/2/2023
22.2.5 667 7/27/2023
22.1.39 690 7/18/2023
22.1.38 712 7/11/2023
22.1.37 682 7/3/2023
22.1.36 672 6/28/2023
22.1.34 696 6/21/2023
21.2.10 706 6/13/2023
21.2.9 673 6/6/2023
21.2.8 677 5/30/2023
21.2.6 685 5/22/2023
21.2.5 722 5/15/2023
21.2.4 698 5/9/2023
21.2.3 694 5/3/2023
21.1.41 733 4/19/2023
21.1.39 783 4/10/2023
21.1.38 781 4/3/2023
21.1.37 797 3/29/2023
21.1.35 793 3/23/2023
20.4.0.54 730 3/13/2023
20.4.0.53 762 3/7/2023
20.4.0.52 761 2/28/2023
20.4.0.51 812 2/21/2023
20.4.0.50 812 2/14/2023
20.4.0.49 851 2/7/2023
20.4.0.48 866 2/1/2023
20.4.0.44 848 1/18/2023
20.4.0.43 812 1/10/2023
20.4.0.42 890 1/4/2023
20.4.0.41 802 12/29/2022
20.4.0.40 816 12/28/2022
20.4.0.38 854 12/21/2022
20.3.0.61 856 12/12/2022
20.3.0.60 822 12/6/2022
20.3.0.59 845 11/29/2022
20.3.0.58 864 11/22/2022
20.3.0.57 848 11/15/2022
20.3.0.56 896 11/8/2022
20.3.0.52 956 10/27/2022
20.3.0.50 918 10/18/2022
20.3.0.49 993 10/11/2022
20.3.0.48 985 10/5/2022
20.3.0.47 985 9/29/2022
20.2.0.50 1,007 9/20/2022
20.2.0.49 992 9/13/2022
20.2.0.48 1,030 9/6/2022
20.2.0.46 1,036 8/30/2022
20.2.0.45 977 8/23/2022
20.2.0.44 989 8/16/2022
20.2.0.43 984 8/8/2022
20.2.0.40 951 7/26/2022
20.2.0.39 962 7/19/2022
20.2.0.38 1,020 7/12/2022
20.2.0.36 1,011 6/30/2022
20.1.0.61 1,016 6/20/2022
20.1.0.60 974 6/14/2022
20.1.0.59 1,020 6/6/2022
20.1.0.58 1,032 5/31/2022
20.1.0.57 1,001 5/23/2022
20.1.0.56 1,004 5/17/2022
20.1.0.55 1,013 5/12/2022
20.1.0.52 979 5/3/2022
20.1.0.51 1,067 4/26/2022
20.1.0.50 1,017 4/19/2022
20.1.0.48 1,019 4/12/2022
20.1.0.47 1,029 4/4/2022
19.4.0.56 1,018 3/14/2022
19.4.0.55 1,370 3/8/2022
19.4.0.54 1,019 2/28/2022
19.4.0.53 1,037 2/22/2022
19.4.0.52 1,017 2/15/2022
19.4.0.50 1,038 2/8/2022
19.4.0.48 1,017 1/31/2022
19.4.0.47 1,005 1/25/2022
19.4.0.43 997 1/18/2022
19.4.0.42 993 1/11/2022
19.4.0.41 837 1/4/2022
19.4.0.40 908 12/28/2021
19.4.0.38 852 12/17/2021
19.3.0.59 873 12/14/2021
19.3.0.57 895 12/7/2021
19.3.0.56 1,565 11/29/2021
19.3.0.55 886 11/23/2021
19.3.0.54 891 11/17/2021
19.3.0.53 943 11/12/2021
19.3.0.48 929 11/3/2021
19.3.0.47 988 10/26/2021
19.3.0.46 976 10/19/2021
19.3.0.45 983 10/12/2021
19.3.0.44 1,020 10/5/2021
19.3.0.43 977 9/30/2021
19.2.0.62 1,011 9/13/2021
19.2.0.60 986 9/7/2021
19.2.0.59 1,011 8/30/2021
19.2.0.57 993 8/24/2021
19.2.0.56 957 8/17/2021
19.2.0.55 1,017 8/11/2021
19.2.0.51 1,044 8/2/2021
19.2.0.49 1,025 7/26/2021
19.2.0.48 1,023 7/19/2021
19.2.0.47 1,052 7/13/2021
19.2.0.46 1,032 7/6/2021
19.2.0.44 1,096 6/30/2021
19.1.0.69 1,047 6/14/2021
19.1.0.67 1,042 6/7/2021
19.1.0.66 1,076 5/31/2021
19.1.0.65 1,020 5/24/2021
19.1.0.64 1,050 5/19/2021
19.1.0.63 1,065 5/13/2021
19.1.0.59 1,000 5/3/2021
19.1.0.58 1,022 4/26/2021
19.1.0.57 1,038 4/20/2021
19.1.0.56 1,025 4/13/2021
19.1.0.55 1,040 4/6/2021
19.1.0.54 1,060 3/30/2021
18.4.0.49 1,034 3/22/2021
18.4.0.48 1,026 3/16/2021
18.4.0.47 1,024 3/9/2021
18.4.0.46 1,015 3/2/2021
18.4.0.44 1,036 2/23/2021
18.4.0.43 1,044 2/15/2021
18.4.0.42 1,022 2/9/2021
18.4.0.41 1,010 2/2/2021
18.4.0.39 1,090 1/28/2021
18.4.0.35 1,023 1/19/2021
18.4.0.34 982 1/12/2021
18.4.0.33 1,020 1/4/2021
18.4.0.32 1,056 12/30/2020
18.4.0.31 1,069 12/22/2020
18.4.0.30 1,076 12/17/2020
18.3.0.53 1,101 12/8/2020
18.3.0.52 1,113 11/30/2020
18.3.0.51 1,090 11/23/2020
18.3.0.50 1,103 11/17/2020
18.3.0.48 1,064 11/10/2020
18.3.0.47 1,115 11/5/2020
18.3.0.44 1,130 10/27/2020
18.3.0.42 1,177 10/20/2020
18.3.0.40 1,151 10/12/2020
18.3.0.38 1,209 10/7/2020
18.3.0.35 1,117 10/1/2020
18.2.0.59 1,157 9/22/2020
18.2.0.58 1,177 9/15/2020
18.2.0.57 1,085 9/8/2020
18.2.0.56 1,128 9/1/2020
18.2.0.55 1,155 8/25/2020
18.2.0.54 1,110 8/18/2020
18.2.0.48 1,150 8/4/2020
18.2.0.47 1,177 7/28/2020
18.2.0.46 1,171 7/21/2020
18.2.0.45 1,181 7/14/2020
18.2.0.44 1,210 7/6/2020
18.1.0.59 1,222 6/23/2020
18.1.0.57 1,170 6/16/2020
18.1.0.56 1,154 6/9/2020
18.1.0.55 1,165 6/2/2020
18.1.0.54 1,185 5/27/2020
18.1.0.53 1,229 5/19/2020
18.1.0.52 1,208 5/13/2020
18.1.0.48 1,223 5/5/2020
18.1.0.46 1,146 4/28/2020
18.1.0.45 1,200 4/21/2020
18.1.0.44 1,198 4/14/2020
18.1.0.43 1,206 4/7/2020
18.1.0.42 1,185 4/1/2020
18.1.0.36-beta 991 3/19/2020
17.4.0.55 1,183 3/10/2020
17.4.0.53 1,208 3/3/2020
17.4.0.51 1,223 2/25/2020
17.4.0.50 1,201 2/18/2020
17.4.0.49 1,218 2/11/2020
17.4.0.47 1,238 2/5/2020
17.4.0.46 1,228 1/30/2020
17.4.0.44 1,193 1/21/2020
17.4.0.43 1,160 1/14/2020
17.4.0.41 1,247 1/7/2020
17.4.0.40 1,244 12/24/2019
17.4.0.39 1,220 12/17/2019
17.3.0.34 1,184 12/10/2019
17.3.0.33 1,203 12/4/2019
17.3.0.30 1,222 12/3/2019
17.3.0.29 1,208 11/26/2019
17.3.0.28 1,188 11/19/2019
17.3.0.27 1,292 11/12/2019
17.3.0.26 1,263 11/5/2019
17.3.0.21 1,238 10/29/2019
17.3.0.19 1,236 10/22/2019
17.3.0.17 1,279 10/15/2019
17.3.0.14 1,234 10/3/2019
17.3.0.9-beta 1,052 9/20/2019
17.2.0.51 1,233 9/10/2019
17.2.0.49 1,238 9/3/2019
17.2.0.47 1,264 8/27/2019
17.2.0.46 1,252 8/22/2019
17.2.0.41 1,193 8/13/2019
17.2.0.40 1,249 8/6/2019
17.2.0.39 1,316 7/30/2019
17.2.0.36 1,285 7/23/2019
17.2.0.35 1,266 7/17/2019
17.2.0.34 1,337 7/11/2019
17.2.0.28-beta 1,024 6/27/2019
17.1.0.53 1,291 6/25/2019
17.1.0.52 1,304 6/18/2019
17.1.0.51 1,243 6/11/2019
17.1.0.50 1,284 6/4/2019
17.1.0.49 1,238 5/28/2019
17.1.0.48 1,265 5/21/2019
17.1.0.47 1,337 5/14/2019
17.1.0.44 1,330 5/7/2019
17.1.0.43 1,326 4/30/2019
17.1.0.42 1,372 4/23/2019
17.1.0.41 1,308 4/16/2019
17.1.0.40 1,348 4/9/2019
17.1.0.38 1,360 3/29/2019
17.1.0.32-beta 1,054 3/13/2019
16.4.0.54 1,399 2/19/2019
16.4.0.53 1,310 2/14/2019
16.4.0.52 1,373 2/5/2019
16.4.0.48 1,384 1/22/2019
16.4.0.47 1,421 1/16/2019
16.4.0.46 1,439 1/8/2019
16.4.0.44 1,395 12/24/2018
16.4.0.42 1,350 12/17/2018
16.4.0.40-beta 1,145 12/10/2018
16.3.0.36 1,445 11/27/2018
16.3.0.35-beta 1,127 11/23/2018
16.3.0.29 1,491 10/30/2018
16.3.0.21 1,470 9/21/2018