|
Vector graphics charts for excel |
Posted by Cj Talas on Oct-02-2015 09:17 |
|
Hi Peter,
We are planning to use ChartDirector for .NET to produce vector(SVG) charts for excel - since we are developing an add-in for excel using .NET.
At the moment we can generate the charts however our problem begins when the we resize the charts, it gets pixelated and we have to regenerate it for resize (which i think is expected for rasterized graphics).
We are hoping that there is a way to resize the image w/o regenerating or w/o the image getting distorted.
Is it possible for .Net Chartdirector to produce vector images for excel?
If its possible what method to generate the vector images/charts for use in excel?
Thank you in advance
Regards,
Cj |
Re: Vector graphics charts for excel |
Posted by Peter Kwan on Oct-03-2015 06:37 |
|
Hi Cj Talas,
ChartDirector can produce SVG (the standard Scalable Vector Graphics) output.
ChartDirector 6 can also produce PDF output, which is also vector graphics.
As far as I know, Excel 2010 can support SVG. Earlier versions of Excel may not be able to
support SVG. In this case, you may need to ask ChartDirector to output PNG, or ask
ChartDirector to output SVG, and used a third party library to render it as PNG before using
it in Excel, or to used a third party library to convert it to a vector format that is supported
by other versions of Excel (such as the EMF format - note that EMF does not support
transparency). I have heard that the SVG.NET library can do these things, but I have not
tried it myself:
https://github.com/vvvv/SVG
Regards
Peter Kwan |
|