charts - Flex 3 prevent duplicate stacking in ColumnChart control -


here problem: i'm using columnchart display 6 label/value pairs. when 2 labels same, chart stacks them up, 1 on top of other. want display these duplicates side side, value might same or might distinct.

  • my first thought append unique id label, that's not possible according client. so, there way tell chart take hidden id consideration?
  • someone suggested sort of grouping, need display each chart separate, if distinct charts.

the chart's data provider array of these objects: obj.description = "des"; obj.countv = 3;//some arbitrary number obj.id = 2; //a unique id...

the chart code:


i found solution: append index # @ end of each column label. use labelfunction remove last char: columnlabel.slice(0, -1); fooled chart thinking they're uniques display duplicates side side.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -