Пример #1
0
 ,array(2010,45,'u32q',0.07)
 ,array(2010,46,'u32q',0.08)
 ,array(2010,47,'u32q',0.12)
 ,array(2010,48,'u32q',0.14)
 ,array(2011,49,'u32q',0.14)
 ,array(2011,50,'u32q',0.24)
 ,array(2011,51,'u32q',0.26)
 ,array(2011,52,'u32q',0.67)
 ,array(2011,53,'u32q',1.00)
       ) );
       


// CHART /////////////////////////////////////////////////////

$chart = new StepChart();

$chart->yscale = 1.7;
$chart->yAxis(axisPercent(axis10()));
$chart->xAxis(axisYrMth(),6.0);

$chart->steps(GP4,$d[0]);
$chart->steps(DEBIAN,$d[1]);
$chart->steps(U32Q,$d[2]);

$chart->title('Cumulative Percentage of Measurements by Month');
$chart->xAxisLegend('month');
$chart->yAxisLegend('cumulative percentage');
$chart->frame();
$chart->complete();