Hi all,
We are using the eZ Components->Graph with php
we had successfully implemented the vertical stack chart by changing
property following property
$graph->options->stackBars = false; to $graph->options->stackBars = true; in
existing vertical bar chart
Code sample:
$graph = new ezcGraphBarChart();
$graph->title=$title;
$graph->palette = new CustomBarChartPalette();
$graph->driver = new ezcGraphGdDriver();
$graph->driver->options->supersampling = 1;
// Stack bars
$graph->options->stackBars = true;
Now we are trying to implement horizontal stack chart, in order to implement
that we are using class "ezcGraphHorizontalBarChart" and setting its stack
bar property to true
$graph = new ezcGraphHorizontalBarChart();
$graph->title=$title;
$graph->palette = new CustomBarChartPalette();
$graph->driver = new ezcGraphGdDriver();
$graph->driver->options->supersampling = 1;
// Stack bars
$graph->options->stackBars = true;
but it seem "$graph->options->stackBars" is not working for horizontal bar
chart and as a result we are not getting horizontal stack chart,
could you please help me to implemnt horizontal stack chart.
Thanks in advance,
Sharad
--
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components