Hi Kore,

thx for your kind input.

more bellow


> Which axisLabelRenderer are you using? If I remember correctly the
> rotated-label-renderer ignores the padding currently.
> 

this is my test script.... I believe I'm using some 'default' renderer
because I do not explicitly ask for one...!! am I wrong ??

also note I'm using LogarithmicalAxes

=========================================================
 <?php
 require_once 'tutorial_autoload.php';
 $chart = new ezcGraphLineChart();
 $chart->yAxis = new ezcGraphChartElementLogarithmicalAxis();
 $chart->yAxis->min = 0;//10^0
 $chart->yAxis->base = 10;
 $chart->yAxis->label = "bit/s";
 $chart->options->lineThickness = 0;
$myfunc = '
if ($b == 0) return " 1kbit/s";
//if ($b == 1) return "     10k";
if ($b == 2) return "    100k";
if ($b == 3) return " 1Mbit/s";
if ($b == 5) return "    100M";
if ($b == 6) return " 1Gbit/s";
if ($b == 7) return "     10G";
$c=$b+3;
return              "   10^$c";
';
 $chart->yAxis->labelCallback = create_function('$a, $b', $myfunc);
 $chart->data['sample'] = new ezcGraphArrayDataSet( array( 0.1, 0.2,
0.5, 0.9, 1, 10, 100, 1000, 10000, 100000, 1000000) );
 $chart->data['sample']->symbol = ezcGraph::BULLET;
 $chart->render( 800, 500, 'teste_04.svg' );
?>
==========================================================


> If you are using the SVG driver it might help to set a SVG font for
> better text size estimation:
> 

ok. I'll check it out.

> http://ezcomponents.org/docs/tutorials/Graph#glyph-support
> 


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

Reply via email to