in reply to Drawing reference lines with GD::Graph

Create a second dataset where every y value is equal to 11

my $dataref = [ ['2004-01-08','2004-01-09','2004-01-10'], # X-values [ 10.9, 10.7, 10.8 ], # Y-value 1 [ 11,11,11 ], #Y-value 2 reference line ];
--
Clayton

Replies are listed 'Best First'.
Re: Re: Drawing reference lines with GD::Graph
by Anonymous Monk on Jan 22, 2004 at 14:32 UTC
    Very nice! thanks!

    Any idea how to also draw a vertical reference line?

      Could you be more explicit about what you mean by a vertical reference line?

      --
      Clayton

        Could you be more explicit about what you mean by a vertical reference line?

        It's really self-explanatory... Vertical is perpendicular to the horizontal; at right angles to the horizon. A reference line is a line that shows a point of reference.

        In relation to a graph, a vertical reference line is a line that extends from the top of the graph to the bottom of the graph at a point on the X axis to give a frame of reference for the rest of the graph.