开发者

Is there an Excel Chart Object to System.Windows.Forms.DataVisualization.Charting converter around?

开发者 https://www.devze.com 2022-12-15 22:27 出处:网络
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)

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

0

精彩评论

暂无评论...
验证码 换一张
取 消