|
| |||||||||
| Tags: chart, dataprovider, flex |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Update Chart automatically when data is added to its dataProvider
Hi, i have prepared a project which displays charts, which i want to be updated every second. I have used Flex to prepare my charts, which uses a php file as its dataProvider. The charts are visible to me, but what i want is there to be a updated chart every second. has anyone tried out this??? |
|
#2
| ||||
| ||||
| Re: Update Chart automatically when data is added to its dataProvider
I was developing a similar project, but my data was coming from an XML file, not such a big difference. What i think you must do is, make the data Bindable and use an ArrayCollection or XMLListCollection object to hold the data. You can use the socket events to grab new data into the flash file. in case you are still not getting it, please do post here. |
|
#3
| ||||
| ||||
| Re: Update Chart automatically when data is added to its dataProvider
I was stuck up on the same thing some time back, but i somehow sorted that out, but then there cropped another error that i am trying to fix. the error is somewhat like this cannot convert mx.managers: ragManagerImpl@3a0cd09 to mx.managers.IDragManager. And it occurs only when i load and unload more than two times. Don't see any problems from my side. does anyone have any idea about it..??? |
|
#4
| |||
| |||
| Re: Update Chart automatically when data is added to its dataProvider
Hey thanks for help buddies, i am able to start and run the code, with the requisite results. My code was something like this; Code: public function counter():void {
var count:counter = new Timer(10000);
count.addEventListener(TimerEvent.TIMER, updateData);
count.start();
} ![]() |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Update Chart automatically when data is added to its dataProvider" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to create alphanumeric data chart in Excel | Shaina Na | Windows Software | 2 | 07-01-2012 06:00 PM |
| In cloudme the MSN is added to instant messenger automatically | Aanisah | Technology & Internet | 5 | 17-06-2011 01:09 AM |
| Last name are getting added automatically on the iPhone | Pomona | Portable Devices | 3 | 19-12-2010 11:08 AM |
| Mark data points in Excel line chart | Amie | Windows Software | 3 | 11-06-2009 08:50 PM |
| Can Users be automatically added a group ? | Frogbeef | Active Directory | 3 | 24-04-2009 05:44 AM |