Oh, I see. I did not realize the x value in the position object was
relative to the graph itself. Does this mean that I cannot use the label
object to place text outside the graph area? I'd like to add a textual
legend underneath the x-labels using data i derive from the graph. (ie a
report on things like the min/max/avg throughput seen through the data)
Thanks
- Michael
On Sun, Nov 16, 2014 at 9:14 PM, Ka-Wai Mak via RT <
bug-Chart-Gnuplot@rt.cpan.org> wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=100360 >
>
> The position of the label should be specified, e.g.
>
> $chart->label(
> position => '"1416045601", 0.5', # <--- position of the label.
> The x-position is surrounded by the quotation marks because it is in time
> format.
> text => "Labeled at (-2, 0.5)",
> fontcolor => 'blue'
> );
>
> The fixed code and the output image are attached for reference.
>
>
> 2014-11-16 2:41 GMT+08:00 Michael Di Domenico via RT <
> bug-Chart-Gnuplot@rt.cpan.org>:
>
> > Sat Nov 15 13:41:10 2014: Request 100360 was acted upon.
> > Transaction: Ticket created by mdidomenico@gmail.com
> > Queue: Chart-Gnuplot
> > Subject: unable to plot labels
> > Broken in: (no value)
> > Severity: (no value)
> > Owner: Nobody
> > Requestors: mdidomenico@gmail.com
> > Status: new
> > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=100360 >
> >
> >
> > I've created a chart using the attached source code and datasets.
> However,
> > I'd like to add some arbitrary labels showing the min/max/avg data values
> > to the chart. but the sample labels don't seem to print. Can you shed
> any
> > idea why?
> >
> > I'm using
> > Perl 5.10.1
> > Chart::Gnuplot v0.21
> > Gnuplot v4.2.6
> > Centos v6.5 x64
> >
> >
>
>