gnumeric "ssconvert --export-graph" exports smaller-sized .svg files from .xlsx and .gnumeric ; .ods is fine.
After running:
ssconvert --export-graphs Freecell-Solver--benchmarks-vs-time.xlsx i.svg && mv -f i.svg{.0,}
on either this .xlsx file
which I generated from the input .tsv
using my FOSS csv2chart program
and Excel::Writer::XLSX, or its .gnumeric
analogue,
which contains a large scatter X/Y chart, the .svg
dimensions are small.
The .svg
dimensions are better after I use ssconvert to generate an .ods
and --export-graph
from it.
I tested the *.svg
images viewport sizes in all of:
Note that the chart's dimensions in gnumeric and libreoffice are fine: large ones.
Tested with the git master branch of gnumeric / ssconvert / lib-goffice as well.
I am using Mageia Linux 8 x86-64 and Fedora 32 x86-64.
A sample invocation of the repo's program is:
( PATH=~/apps/gnumeric/bin:"$PATH" ; bash plot-benchmarks-against-time--gen-charts.bash --viewer "firefox" --input-format xlsx --force false )
( PATH=~/apps/gnumeric/bin:"$PATH" ; bash plot-benchmarks-against-time--gen-charts.bash --viewer "firefox" --input-format ods --force false )
I can provide some screenshots if necessary.