horizontal stack chart (using horizontal Bar chart) not working.

Author Message

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:58:00
Script start
Timing: Jan 18 2025 02:58:00
Module start 'layout'
Timing: Jan 18 2025 02:58:00
Module start 'content'
Timing: Jan 18 2025 02:58:01
Module end 'content'
Timing: Jan 18 2025 02:58:01
Script end

Main resources:

Total runtime0.8183 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.1719152.6563
Module start 'layout' 0.00620.0031 740.828139.5078
Module start 'content' 0.00930.8073 780.3359407.9297
Module end 'content' 0.81660.0017 1,188.26568.0938
Script end 0.8183  1,196.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4099160.0002
Check MTime0.00140.1676160.0001
Mysql Total
Database connection0.00080.097510.0008
Mysqli_queries0.778495.1267460.0169
Looping result0.00040.0530440.0000
Template Total0.790796.620.3954
Template load0.00180.217320.0009
Template processing0.788996.410620.3945
Template load and register function0.00090.105610.0009
states
state_id_array0.00070.087010.0007
state_identifier_array0.00070.088320.0004
Override
Cache load0.00150.1789260.0001
Sytem overhead
Fetch class attribute can translate value0.00130.158510.0013
Fetch class attribute name0.00070.082110.0007
XML
Image XML parsing0.00010.014310.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00150.1818100.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs