Forums / Developer / horizontal stack chart (using horizontal Bar chart) not working.
sharad tale
Tuesday 18 May 2010 6:38:45 am
Hi all, 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
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs