No matter what I try, the gradient just a shows as a 1px vertical line on the right side of the plot. What am I missing?
Here's the 411:
$graph = new Graph(900,300);
$graph->SetMargin(70,10,70,40);
$graph->SetBackgroundGradient( 'red', 'yellow', GRAD_VER, BGRAD_PLOT);
$graph->SetScale('textint');
$graph->xaxis->title->Set('Date');
$lineplot=new LinePlot($ydata);
$graph->Add($lineplot);
$lineplot->SetLegend('Systolic');
$lineplot2=new LinePlot($ydata2);
$graph->Add($lineplot2);
$lineplot->SetLegend('Systolic');
$lineplot2->SetLegend('Diastolic');
$graph->legend->Pos(0.05,0.5,'right','center');
$graph->xaxis->SetTickLabels($xdata);
$graph->Stroke();