addData($data); $graph->addData($data2); $graph->setTitle("Example graph"); $graph->setBars(false); $graph->setLine(true); $graph->setDataPoints(true); $graph->setY2Scale(0, 1); $graph->setRange(0, 80); $graph->createGraph(); ?>In this example, two data sets are being plotted on the same graph. The first data set has values between 25 and 75, while the second data set has values between 0.1 and 1.0. The SetY2Scale function is used to set the scale of the Y2 axis to range from 0 to 1, allowing the second data set to be plotted on a separate axis. Package library: PHPGraphLib.