Sorry that the document is not well written.
For a number of image formats (e.g. bmp, jpg, png), the module would
set the terminal itself. The list of the supported formats can be found in
the "output" of the "Chart Options" session of the document.
For some other formats such as svg and html5, the terminal is need to be
specified by the user. This is not mentioned in the document currently and
will be added later.
- Ka-Wai
2012/11/27 Stefan Billeb via RT <bug-Chart-Gnuplot@rt.cpan.org>
Show quoted text> Queue: Chart-Gnuplot
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=81461 >
>
> Hi Ka-Wai,
>
> no, I didn't use the terminal option on the chart object. I couldn't
> read from the docs that it was necessary in your part, as it said that
> the output is automatically detected from the outputfile suffix. Even
> though I wondered because terminal has to be set in gnuplot even for png.
>
> Now I know what to do I guess - thank your for your fast reply :-)
>
> Regards from Germany,
> Stefan
>
> Am 27.11.2012 04:05, schrieb Ka-Wai Mak via RT:
> of
> > the chart object, e.g.
> >
> > $chart = Chart::Gnuplot->new(
> > terminal => "svg",
> > .....
> > );
> >
> > The "terminal" option is required for svg. If you already specified it,
> it
> > would be much appreciated if you could send me your script for further
> > investigation. Thanks.
> >
> > Regards,
> > Ka-Wai
> >
> >
> >
> > 2012/11/26 Stefan Billeb via RT <bug-Chart-Gnuplot@rt.cpan.org>
> >
> >> Mon Nov 26 06:28:18 2012: Request 81461 was acted upon.
> >> Transaction: Ticket created by stefan.billeb@gmx.net
> >> Queue: Chart-Gnuplot
> >> Subject: No SVG Format properly written
> >> Broken in: (no value)
> >> Severity: (no value)
> >> Owner: Nobody
> >> Requestors: stefan.billeb@gmx.net
> >> Status: new
> >> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=81461 >
> >>
> >>
> >> Hi,
> >>
> >> I am using the Chart::Gnuplot to generate some graphs. I would like to
> >> have them stored in svg format, but this doesn't seem to get properly
> >> written.
> >>
> >> Files get very huge, about 20mB (if I create them with gnuplot directly
> >> its about 15 kB), also I can't open them in Browser or svg viewer like
> >> Inkscape.
> >>
> >> Maybe you can fix this or make better support for svg? Would be very
> >> nice :-)
> >>
> >> Regards,
> >> Stefan
> >>
> >>
>
>
>