Hello!

I've tried to create a LineChart with this code:

 $graph = new ezcGraphLineChart();
 $graph->title = 'Test';
 $graph->legend->position = ezcGraph::BOTTOM;
 $graph->xAxis->axisLabelRenderer->showZeroValue = true;
 $graph->yAxis = new ezcGraphChartElementNumericAxis();
 $graph->yAxis->label = '%';

 $graph->data['2008'] = new ezcGraphArrayDataSet( array(
 'jan' => 0.30,
 'feb' => 0.28,
 'mar' => 0.34,
 'apr' => 0.39,
 'may' => 0.29,
 'jun' => 0.30,
 'jul' => 0.37,
 'aug' => 0.35,
 'sep' => 0.54,
 'oct' => 0.47,
 'nov' => 0.57,
 'dec' => 0.3,
) );

$height=300;
$long=750;

$graph->render( $height,$long, 'test.svg');


And when I get the image, I can't see line or text for february and
june!! I've tried only 11 months and add a 13th element and it is
shown perfecftly, could be a bug when the number of elements is 12??

Thanks in advance,

Raul
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to