Hallo, how is it possible to achieve a displaying of just a single record in the graph so it does not look like the right graph on the picture but is shown as one large bar?
The values for this graph is this array (the behaviour is the same for whatever
the key is):
$data =
Array
(
[19. 07. 2007 05:24] => 3
)
Code for the graph:
$graph = new ezcGraphBarChart();
$graph->palette = $booleanSwitch ? new ezcGraphPaletteEzRed() :
new ezcGraphPaletteEzBlue();
$graph->yAxis = new ezcGraphChartElementNumericAxis();
$graph->yAxis->minValue = 0;
$graph->yAxis->majorStep = 5 ;
$graph->data['data'] = new ezcGraphArrayDataSet( $data );
$graph->renderer = new ezcGraphRenderer3d();
$graph->renderToOutput( $width, $height );
Thank you.
Vitek<<attachment: graph.png>>
-- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
