Contents Previous Next

7.22 Adding static lines to the plot

In addition to the bands you can also add static lines to the graph. An example of that is actually shown in figure 11 above. You create a line as an instance of class PlotLine . So for example the lines

 $sline  = new PlotLine (HORIZONTAL,0, "black",2);
$graph->Add( $sline);

will add a 2-pixel wide horizontal static line at Y-position zero.


Contents Previous Next