LibreOffice 4.0 will have the new feature to export charts as graphic files. However, it does not work with SVG-files. The created SVG graphic file has 0 Bytes size. How to reproduce: * Start Calc * Create any new chart * Perform a right mouse click on the chart and choose as export filter "SVG -Scalable Vector Graphics" and save it somewhere. * Look at the created file. It has 0 Bytes file size and is - of course - broken. System: Ubuntu 12.10, LibreOffice 4.0.rc2
than you for reporting thus bug i can reporduce this bug running lo 4.0 rc 2 and rc3 on mac os x 10.6.8
Added Tomaz to this bug. He added the "Export as Graphic" feature.
The export as graphic for charts which was newly introduced in LibreOffice 4.0 is a great enhancement, but only supports raster formats such as jpg and png (bug 30944). Please add vector graphics support when exporting charts.
Hi, In the way it is currently done I did not find a easy way to export a chart as SVG. For release 4.1 I will try to find a way to make it possible using a different solution but I don't think I can do anything other than to disable export to SVG for release 4.0 Regards, Tomaž
(In reply to comment #4) > Hi, > > In the way it is currently done I did not find a easy way to export a chart > as SVG. For release 4.1 I will try to find a way to make it possible using a > different solution but I don't think I can do anything other than to disable > export to SVG for release 4.0 > > Regards, Tomaž Hi Tomaž. I understand if it is not an easy task to allow Calc to export charts as SVG, and it isn't already implemented. But in my opinion, if it is not possible, the save dialog should not allow the user to chose formats that are not supported.
If this is fundamentally difficult, a high res bitmap option would be useful. the current bitmap output is lower quality than the chart on screen, due to lack of anti-aliasing.
Hi, This problem has been resolved in master (LibreOffice 4.1) with commit [1] and [2]. Exporting as any vector format (including SVG) works now. Regards, Tomaž [1] - http://cgit.freedesktop.org/libreoffice/core/commit/?id=4fa8df7320f6bdc8333f5936537d2ed93e8892ce [2] - http://cgit.freedesktop.org/libreoffice/core/commit/?id=a5e22906c0b27019b61b41161ccc8cbc2cf40ade
@Tomaz: Thanks, that's excellent news! I now marked the bug as RESOLVED -> FIXED. I am looking forward to LibreOffice 4.1.
Added information to the 4.1 release notes: https://wiki.documentfoundation.org/ReleaseNotes/4.1#Chart Please cross-check.
Can the non-working option be removed from the Graphics Export save dialog in 4.0? should that be filed as a separate bug?
@Sam: Is this necessary, since these options will work in version 4.1 ?
People will still be using 4.0.x for many months. I think its bad to have an option in the UI that looks like it works, but only outputs a broken (zero byte) file. It means people waste time trying to work out what they did wrong. They might not even realise that the bitmap options do work.
Hi, I could prepare a patch to also make it work in 4.0 but without fix in 4fa8df7320f6bdc8333f5936537d2ed93e8892ce SVG export won't work. To remove the option out is not trivial. I will try to do something about this. Regards, Tomaž
Thanks. Yes, i'm happy to wait for 4.1 for the vector export to work, bring large patches to stable releases is risky. Just asking for the non-working options to be hidden in 4.0 (i imagine that this is less work, but maybe i am wrong).
*** Bug 59083 has been marked as a duplicate of this bug. ***
*** Bug 64988 has been marked as a duplicate of this bug. ***
*** Bug 65228 has been marked as a duplicate of this bug. ***
I reported the bug about SVG still being an available option in https://bugs.freedesktop.org/show_bug.cgi?id=65228 cheers