backgroundColor="white">
import mx.collections.ArrayCollection;
[Bindable]
public var salesAC:ArrayCollection = new ArrayCollection([
{name:"A",value:1},
{name:"B",value:2},
{name:"C",value:3},
{name:"D",value:4},
{name:"E",value:5},
{name:"F",value:6}
]);
public function filterFunc(item:Object):Boolean
{
if(item.value >= salesRange.values[0] && item.value <= salesRange.values[1])
return true;
else
return false;
}
public function filterSales():void
{
salesAC.filterFunction=filterFunc;
salesAC.refresh();
}
id="salesRange"
width="100%"
thumbCount="2"
labels="['0','2','5','7','10']"
tickInterval="1"
height="50"
maximum="10"/>