summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/underscore/underscore.string.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-09-28 15:52:19 +0200
committerXavier Morel <xmo@openerp.com>2011-09-28 15:52:19 +0200
commitcd39bd968d28dcea1c14ebbf7815d752907f7d85 (patch)
tree53ec8526b6bee89fb55572249edf240ff39a6e93 /addons/web/static/lib/underscore/underscore.string.js
parentaa25be3746cb58b99e99c093a803f07773bf4c41 (diff)
[FIX] reimplement transformation for stacked bars
In DHTMLX, stacked bars require a very different topology than clustered, essentially it requires taking clustered data and "rotating it". This implement the transformation of the series descriptors ('group_list' sequence which sets up the key, label and color for each series) and of the series itself (sets up a key for each possible value of the aggregation field, with each key prefixed by the name of the ordinate column). To handle grouped *and clustered* graphs, which dhtmlx does not natively support, might be able to reimplement this Excel/Numbers hack: http://peltiertech.com/WordPress/clustered-stacked-column-bar-charts/ by iterating over all this.columns (rather than just the ordinate) and... not sure actually, creating a record for each of these columns for each abscissa value, with all other fields set to 0? Maybe? bzr revid: xmo@openerp.com-20110928135219-edp80g7k6x60s3l8
Diffstat (limited to 'addons/web/static/lib/underscore/underscore.string.js')
0 files changed, 0 insertions, 0 deletions