WedgeStackChart refreshing data issue.
Opened this issue · 0 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
I am using the axiis library fit for flex 4 which is created by viatropos.
I want to use this component to dynamically display data after I do some
filtering stuff of my dataset. (Something like issue 24
http://code.google.com/p/axiis/issues/detail?id=24 but not fix because I use
Flex SDK 4).
here is the dataset.
protected function button1_clickHandler(event:MouseEvent):void
{
var temp:ArrayCollection = new ArrayCollection();
var element:ArrayCollection;
var obj:Object = new Object();
var _obj:Object = new Object();
var sum:int;
for(var i:int=0;i<9;i++)
{
sum = 0;
obj = new Object();
obj.name = "parent"+i;
element = new ArrayCollection();
for(var j:int=1;j<20;j++)
{
_obj = new Object();
_obj.category = "element"+i+j;
_obj.count = j;
sum += j;
element.addItem(_obj);
}
obj.sum = sum;
obj.element = element;
temp.addItem(obj);
}
dataProvider = temp;
dc.invalidateDisplayList();
}
I added one button, and by clicking button, we re-create the dataset and
refresh the wedgeStackChart, but when the chart goes to the last "parent", some
of the "element" do not displayed at the end of "innerStack".
I update the GeometryRepeater.as and BaseLayout.as via r388 but the view errors
are still there.
What version of the product are you using? On what operating system?
The version of Axiis is from http://github.com/viatropos/axiis which is made by
viatrops.
Win7-32bit, Flash builder + Flex SDK 4.1
Please provide any additional information below.
I will realy appreciate for helping me.
Thanks,
Jian
Original issue reported on code.google.com by kulmb...@gmail.com
on 2 Jul 2010 at 4:52