Flex :: ArrayCollection Fast Filtering (one Chart At A Time Is Not Option)

Sep 19, 2011

I have the following situation: have a screen with 4 charts, each being populated with 59 array collections. Each array collection has 2000+ data points. This construct needs to be filtered(by time), but the problem I'm encountering is the fact that it takes a long time for the filtering to finish (which is to expected given the amount of data points that need to filtered).

Filtering one chart at a time is not option, so I wanted to ask you what do you think would be the best approach? (should I use vector instead?). To generalize this question what would be the best way to filter large collections in flex/as3?

View 4 Replies


Similar Posts:


Flex :: Mxml - Components Bound To Empty ArrayCollection At Load Time Don't Render As Expected When The ArrayCollection Is Updated?

Oct 27, 2009

I'm new to Flex and am using TileList bound to an ArrayCollection. The array collection is empty at load time, and then updates with the results from am HTTPService call. The problem is that the item renderers aren't being rendered as expected, I'm guessing because there was no data when they were first rendered at load time. Here's simplified example:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
<mx:Script>

[code].....

View 2 Replies

Actionscript :: Flex Date And Time Stock Chart (HOLC)

Aug 28, 2010

I am trying to show BOTH the date and the time in Flex 3.5 Stock HOLC (high, open, low, close) Chart. This data shows up but not in the correct format... Problems:

1. The time are out of whack.. they do not line up with proper time.. (is it because they are not military time)?

2. The dates (days) do not show up on the bottom labels are all, is there a way to make this happen?

3. The times show up with large gaps... in the 24 hour period... Is this always the case when the data is not there for the time? Or, can I disable specific time periods like is possible with "disable days"

[Code]...

View 1 Replies

Flex :: Prevent A Default Chart Item Roll Over Highlight In A Spark Column Chart?

Mar 3, 2011

I'm trying to prevent a default chart item roll over highlight in a Spark column chart.If you look at any of the chart examples on this page , when you roll over any of the chart series items, they turn a darkened shade of their original colour. This is what I want to prevent.

So far I have had no luck with using the itemRollOverColor property, as this only allows you to set it to one specific colour for the whole chart (my app has several different coloured series on the chart at once). Also, trying to leverage the itemRollOver event (with preventDefault() etc) hasn't worked either.

View 1 Replies

Flex :: Make Chart Which Is Combination Of Bar And Line Chart Using Charting API

Jan 10, 2011

I'm trying to make chart which is combination of bar and line chart using Flex Charting API . Here x axis would be common and y axis would be different. note that y axis got different range of value one is % and other is amount. Any one got idea how to make this chart. Here line chart would be staked on top of bar chart . The line chart and never over laid or drawn on top of bar chart.

View 1 Replies

ActionScript 2.0 :: Display A Different Text Option Each Time?

Feb 20, 2010

I have a dynamic text box set up called 'circle'. Each time the movie loads I want it to display different text.

Currently, I have

Actionscript Code:
_root.circle="hello","nice to see you", "hello, again";
on the timeline.

Unfortunately, when it loads it just sticks with the first 'hello', instead of choosing one of the other options. How can I tell flash to display a different text option each time?

View 1 Replies

ActionScript 2.0 :: Stop Sart Fast Foward Animation Time Line

Jul 7, 2010

is it possible to stop and fast foward an animation timeline.I have intermediate skills but a client what the timeline to play like a movie.I dont want to tell them its not possible if there is a way

View 9 Replies

Actionscript 3 :: How To Sort Time ArrayCollection

Mar 22, 2011

How do I sort this time ArrayCollection? I need it to be sorted from earliest to latest.

View 2 Replies

ActionScript 3.0 :: Develop Chart In Flash (eg. Bar Chart, Pie Chart)?

Mar 2, 2011

Is it possible to develop chart in flash (eg. bar chart, pie chart)?

View 1 Replies

Flex - Filtering XMLListCollection?

Dec 23, 2011

I'm trying to create some sort of rangking. For this, I'm using a multilevel xml which I create with a php file.

[Code]...

View 2 Replies

ActionScript 3.0 :: Type Was Not Found Or Was Not A Compile-time Constant: ArrayCollection

Aug 15, 2011

I have never seen this type of error before. I was running the asdoc tool when I got the issue to:

[Code]...

View 1 Replies

Flex :: Filtering Data Shown On Linechart?

Jul 8, 2009

i am working on a line chart on flex which enable me to view the progress of data according to the year. I have tried using a slider to filter but it doesn't seemed to work.

View 4 Replies

Flex :: Adobe Air Filtering Large Datasets?

Sep 30, 2009

I have an Air app that downloads a data set of around 100`000 objects and puts the objects in an ArrayCollection.I would like to apply various filters to the data set in numerous screens throughout the app. am a little worried about possible performance issues if I make multiple copies of the collection. However, if I don't copy the collection any filters applied will be reflected in all the screens and this is not the behavior I need.

View 3 Replies

Flex :: Filtering In AdvancedDataGrid Using Input Text

Dec 30, 2009

I have a advancedDatagrid with column headers having input text boxes for filtering.The column is filtered according to input text when I use characters as data inside that column.But when I use numbers in the column field,filtering does not happen.Can anyone tell me what went wrong.

View 1 Replies

Flex :: Implement Server-side Filtering ?

Jun 20, 2010

I've got Flex 4, Zend and php. I've set up paging in my datagrid but how do I do server-side filtering? I have about millions of records so obviously can't do client side filtering.

View 1 Replies

Flex :: Filtering By Attributes Has Undefined Variable

Aug 24, 2010

I have some xml and I am trying to filter it using e4x. My e4x statement looks like this:
model.config.source.fees..fee.(@min<amount).@amount

My xml looks liks this:
<flex><fees>
<fee type="credit" min="0.00" max="200.00" amount="6.00"/>
<fee type="credit" min="200.01" max="370.00" amount="10.00"/>
</fees></flex>

When the e4x statement is run, I get an error message:
Error #1065: Variable @min is not defined.
But if I change my statement to model.config.source.fees..fee.@min it will return an xmllist of all the min attribute values, so min is defined, at least in that statement. Why doesnt the original statement work?

View 1 Replies

Flex :: Fade In/out Items In List When Filtering?

Jan 27, 2011

In Flex 4 I have a list where every product in it is rendered through an ItemRenderer. Now, when I filter the list I want to fadeout the products that are removed. I can't add the fadeout effect to the hideEffect of the item renderer since renderers are being reused. Anyone a valid (easy) solution on how the fadeout the products correctly.

View 1 Replies

Real Time - Draw Candle Graph Using Open Flash Chart?

Nov 24, 2010

I want to draw stock price in real time as a candle graph. I get open flash chart from someone and it looks good at drawing. I don't know how to update the candle graph in real time (using Ajax?), and is it a good way? I use Python a lot. But I cannot find tools as easily to use as OFC.

View 3 Replies

Flex :: Text Area With Line Number Filtering?

Mar 18, 2010

I need to have a Text Area With Line Numbers, & once the Text File is Imported to the Text Area.. the user must be able to select the line numbers & see the filtered output.

I have implemented the same with Numeric steppers. I am in search of an enhanced component.

are there better Advanced Components for Textarea ? Any Advanced Textarea component with built-in Search/Replace/Filter Capabilities ?

View 1 Replies

Flex :: Change The Filtering Mode Of Images In Application?

Apr 15, 2010

I have an Image control in my Flex application:

<mx:Image id="img" source="@Embed('img.png')"
percentHeight="100" percentWidth="100" />

Because the image is scaled, there are a lot of scaling artifacts. Can I change the image to use a different type of filtering?

View 1 Replies

Flex :: Display The Contents After Performing Some Text Filtering?

May 6, 2010

I want to build an application using air. The application should load the flashlog file and display the contents after performing some text filtering.But when i load the application this clears my flashlog.txt though my file mode is READ.I can understand that running my air application clears the flashlog and prepares it for new logging. Is there a workaround for this.I dont want to open the flashlog file everytime and check for traces from my web application

View 1 Replies

Actionscript 3 :: Filtering XML Based On Multiple Params - Flex?

Feb 7, 2012

I am trying to filter an XML based on multiple parameters that I have as an input. I am trying to identify the parent nodes which have the matching records so that I can filter them out and process.

[Code]...

View 1 Replies

Actionscript 3 :: Filtering Datagrid Based On Data In Rows, Flex?

Mar 23, 2012

I've search all over today trying to find how to do this, and not being familiar with actionscript is starting to catch up to me. What I would like to accomplish is: I have a list of messages in a Datagrid coming from a dataprovider in another class, which in turn gets them from our Oracle DB. I need to all the user to set a visible state on the message, and then filter that out of the datagrid with the click of a button. I have the check box for hide, and it sets that value into the database. I can't figure out how to get the filterFunction to work with an array collection when the filter parameter is within the row data.Here is the code

public function filterResults():void {
modelLocator.notification.messageList.filterFunction = filterRows;
modelLocator.notification.messageList.refresh();

[code]....

View 1 Replies

Flex :: Setting Compiler.theme Option For Halo/Flex 4 In FlashDevelop?

Jul 12, 2010

Here's what works with ant build.xml:

[Code]...

I tried the following values in Project > Properties > Compiler Options > Additional Compiler Options but none of them worked:

View 2 Replies

Actionscript 3 :: ArrayCollection Index Got Changed After Filter The Arraycollection?

Oct 7, 2011

I have a advanced datagrid and populating some data by using arraycollection. And i am filtering the arraycollection, the arraycollection index got changed.

Arraycollection:- [0] - name: abc
[1] - name: hello
[2] - name: hello1
[3] - name:hai

after filtering the arraycollection as 'hell' , the array collection is displaying like the below:

Arraycollection:-
[0] - name: hello1
[1] - name: hello

Can i know the reason why the index got changed after filter it?

* no server side code for filtering. it is only flex side filtering.

View 2 Replies

ActionScript 2.0 :: Create An Animated Bar Chart Or Line Chart Type Of Component In Flash Programmatically?

Sep 14, 2009

How can I Create an animated Bar Chart or Line Chart type of component in flash programmatically, which should depends upon an incoming XML data, the chart should have the basic criteria like, Chart Label, Item Tooltips, background grids (without using any image). There also needs an ability to change the data which should reflect the chart as well.

View 1 Replies

Flex :: Datagrid - ItemRenderer Flex Values Getting Not Rendered According To ArrayCollection Provider?

Feb 4, 2011

i have a problem using the itemRenderer functionality. When using an ArrayCollection the visible Data in the DataGrid using the itemRenderer will be rendered just fine. But if i start scrolling the entries are repeating in the cells using the renderer. The cells are not filled with date according to the id. What mistake i'm doing here.

I read a lot of the explainations like:

[URL]

here is the code for the set data function (itemRenderer is extending HBox):

override public function set data(value:Object):void {
_data = value;
if(data!=null)

[code]....

View 1 Replies

Flex :: ArrayCollection Versus Vector Objects In FLEX?

Apr 20, 2010

the applicable differences between an ArrayCollection and a Vector in flex? I'm unsure if I should be using one over the other. I saw that Vector is type safe and that makes me feel better, but are there disadvantages?

public var ac:ArrayCollection = new ArrayCollection();
versus
public var vec:Vector.<String> = new Vector.<String>();

View 4 Replies

Flex - Options To Create Line Chart In Flex For Data-intensive Web App?

Jan 13, 2012

My group is working on a Flex/AS3 scientific web application that is data intensive. Luckily the only plots involved are line charts. However, each line chart may have multiple traces (up to 24), and each trace may contain up to 2000 points. The user will need to zoom in and out and interact with the data (e.g. data tips, etc.).

The response I'm getting from developers is that's a lot of data to render in a plot in Flash. For reasons beyond the scope of this post, we can't sample the data to reduce the size (this has already been done and nature of the data prevents further sampling).

Rendering speed is critical for this app. What kind of rendering speed should I expect the Flex 4 line chart component to provide for a given number of points (e.g. 1 second to render 1000 points?)

Are there products available that handle plotting large data sets better, which can be incorporated in Flex (I've seen FusionCharts and ZingCharts online but have no idea how they compare with Flex's components)? Of those, which are easy to develop with while still providing a lot of flexibility in look and feel?

View 1 Replies

Actionscript 3 :: How To Fast Reorder Child Elements In Flex 4

Nov 30, 2010

I have a control which contains many child elements (about 1000), and I need to sort them.Now I doing that like this:

_elements.sortOn(...);

for (var i: int = 0; i < _elements.length; i++) {
setItemIndex(_childItems[_elements[i].id], i);
}
_childElement - object that contains UI-child elements, which i need to sort (key of the dictionary is an identifier from data-object
_elements - array contains data-objects

But this is too slow! How to reorder the childs by my criteria as fast as possible?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved