Is there an Excel Chart Object to System.Windows.Forms.DataVisualization.Charting converter around?
Does anyone know if there is a tool that allows you to convert an Excel Chart object to an System.Windows.Forms.DataVisualization.Charting object (aka ASP.NET Charts)
e.g. in C#
using System.Windows.Forms.DataVisualization.Charting;
...
开发者_开发问答var xlChart = xlWorksheet.ChartObjects.FirstOrDefault();
Chart chart = SomeConverterLibrary.Convert(xlChart);
...
SpreadsheetGear for .NET enables you to load Excel workbooks, access and modify the charts via the charting API, and render charts images with no dependency on Excel.
You can see some live charting API samples here, chart rendering samples here and download a free trial here.
Disclaimer: I own SpreadsheetGear LLC
精彩评论