SeriesInterpolate - delete data in the table early
Hi all
I did experiment with the graphics available in Flash Builder 4 and I like the capabilities of the cards, but have run into an area that didn't work quite as I expected. Specifically, when adding and deleting of data point to a table with SeriesInterpolate defined.
I've set up three examples, I guess these will do much more reasonable that I try to explain it in words only! :
- http://sprymedia.co.UK/media/Misc/Flex/LineChart/LineChart-Add.swf
-By clicking on the button at the top right adds a new point of data at the end of the data table, and the table is correctly updated (almost smooth there is a change of 1px at animation which is strange...)
- http://sprymedia.co.UK/media/Misc/Flex/LineChart/LineChart-delete.swf
-By clicking on the button (which is now incorrectly labeled) removes the element at the beginning of the table data - but the chart draws it as if he was removing the end element.
- http://sprymedia.co.UK/media/Misc/Flex/LineChart/LineChart-AddDelete.swf
-C' is what I'm aiming eventually for - a smooth side scroll graphic, when new data are added at the end and the old data are dimmed on the front. However, the delete behavior makes this look a little weird.
Is there a way to get a smooth transition I am looking with SeriesInterpolate? Or she and be implemented in a different way?
Thank you very much
Allan
Hi Allan,
Yes. Set of cards code is part of open source for Flex 4. Latest version of the SDK can be downloaded from http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
Thank you
Deeptika
Tags: Flex
Similar Questions
-
Hello
Search page, I developed with two buttons, go and clear.and data sought are displayed in the table on the page.
using the 'clear' button I can able to clear data from text boxes, but I want to data displayed in the table on the page must also be clear.
Please provide assistance to achieve this.
and iam also getting a problem more clearly by clicking the button twice, the first time it is deletion of the data, where, like the second time, it's
What gives exception.how to prevent null pointer is not to get a null pointer exception.
Hello
in, click clear, you want data from the table are evacuated, do you want to text boxes to clear snow?
You can achieve this by extending the controller and clear data that VO, so to clear the table.
1 handle the button click clear
If (oapagecontext. GetParameter("ClearBtn")! = null)
2 claire VO associated table
SVO OAViewObject = (OAViewObject) am.findViewObject ("yourVO"););
svo.setWhereClause ("1 = 2");
svo.executeQuery ();
3. If you want to clear the text boxes you can use following code
OAMessageTextInputBean mtib = (OAMessageTextInputBean) webBean.findIndexedChildRecursive ("bean_id");
if(MTIB!=null)
mtib.setValue (pageContext, null);
-
How to add data to the table using Manager POST for restful Apex application
Hi all
I managed to create a service application web Manager restful using GET for the Restful service module. I am able to get the data in row on the presentation of a table row id in the application. But I can't find an appropriate example, how the new data in the table can be posted or deleted. I created a POST handler for a URI scheme and look forward on how to proceed. Any help would be really appreciated.
Source for the POST Manager:
Start
insert into ALL_BOOKS values(:id,:book);
end;
Also created 2 parameters id and the book.
Hi jerry2134,
jerry2134 wrote:
I managed to create a service application web Manager restful using GET for the Restful service module. I am able to get the data in row on the presentation of a table row id in the application. But I can't find an appropriate example, how the new data in the table can be posted or deleted. I created a POST handler for a URI scheme and look forward on how to proceed. Any help would be really appreciated.
Source for the POST Manager:
Start
insert into ALL_BOOKS values(:id,:book);
end;
Also created 2 parameters id and the book.
Check out the following tutorials OBE, that explains the creation of GET and POST RESTful Web Services and how to use them in the APEX.
- Creation and use of RESTful Web application services Express 4.2
- Creation and use of RESTful Web application services Express 5.0
Also what yo mean "looking forward on how to proceed? Do you want to or created for use/consume in your Oracle APEX application hosted RESTful web services?
If Yes, in your Application, you must create a RESTful Web Service reference -> shared components. Then, create a form/report based on Web Service reference.
Kind regards
Kiran
-
Delete data from a table with joins
Hey guys,.
IV struggled for a while with a sql now.
I'm trying to remove some data from urole based on the www.lesormes.com in the select part.
The selection is correct, but the part delete Deletes all data in the table urole and not only those found in the select.
How can I delete all data by using a join?
DELETE FROM urole
WHEN THERE IS)
SELECT *.
User JOIN urole
ON user.userid = urole.userid
AND user.audit_version = urole.audit_version
JOIN secrole
ON urole.roleid = secrole.roleid
WHERE user.audit_current = 'Y '.
AND secrole.audit_current = 'Y '.
AND IN secrole.rolename
('X',
« Y »,
« Z »,
));
Thanks for your help in advance!Hello
Welcome to the forum!
Chances are, you don't want to join in the subquery EXISTS of EPM; It is more likely you want just like this correlated subqueries:
DELETE FROM urole WHERE EXISTS ( SELECT 0 FROM user WHERE user.userid = urole.userid AND user.audit_version = urole.audit_version AND user.audit_current = 'Y' ) AND EXISTS ( SELECT 0 FROM secrole WHERE secrole.roleid = urole.roleid AND secrole.audit_current = 'Y' AND secrole.rolename IN ( 'X', 'Y', 'Z' -- No comma here ) ) ;
or maybe an IN subquery:
DELETE FROM urole WHERE p_key IN ( SELECT urole.p_key FROM user JOIN urole ON user.userid = urole.userid AND user.audit_version = urole.audit_version JOIN secrole ON urole.roleid = secrole.roleid WHERE user.audit_current = 'Y' AND secrole.audit_current = 'Y' AND secrole.rolename IN ( 'X', 'Y', 'Z' ) ) ;
where p_key is a unique key (not necessarily a single column) of urole.
It's just a guess; That's all I can do with the information you have posted. Test this carefully before to try it on your actual data.
Whenever you have a problem, it allows to post a small example of data (CREATE TABLE and INSERT statements) and the results desired from these data.
In the case of a DML (such as DEL) problem, the sample data must re - create the tables as they are to the DML, and the results will be the content of the modified table (urole) after the DML.Furthermore, there is a built-in function called user, the user is not a good name for a table.
-
How insert/DML data in the table when the data in the related table changes
Hello guys!
I came across a problem that I need to get fixed. Because I don't know how to start and get it resolved I wanted to ask you for your expertise.
The scenario is as follows:
I have a table 'a' in my 10g database and a view "ab" which combined table 'a' with 'b' table in a view. However, the 'b' table is a table in another schema Manager database. and accessible (read only right) via a database link.
Now here it is: whenever the data changes in table "b", for example 2 new sets of data is inserted, I need to insert automatically the 2 values of these 2 sets of data in my table "a". Same procedure for update and delete in table "b".
The action that inserts data into the table 'a' must be initialized in my database, I have limited access to the other. Can I somehow use a trigger my reviews of "ab" to insert data into the table "a"? Or is it possible to use the "change notification procedure database" using the view as the reference?
Desperately need help and example of all suspicion/code greatly appreciated. I am very new to Oracle and not very fond of PL/SQL routines. So please be so kind as to give me more details.
Thanks in advance - I hope you have any ideas how I can get this problem resolved.
Sebastian>
... it does not, since the DDL operations are not permitted on the remote databases (ORA-02021). I can't create the trigger on a view either. :-(
So what ways are left to insert data into the table 'a' when the related table changes?Please, help if you have an idea!
Yes,
You can't perform the DDL (create the trigger...) on remote databases as you can see...
Try to create this trigger in the local database that will make DML (insert into...) on the remote database.CREATE OR REPLACE TRIGGER local_forward_pt_after_insert AFTER INSERT ON N2K_INV_PT FOR EACH ROW BEGIN -- Insert records into table "a" INSERT INTO TBL_PUNKTDATEN@remote_database_sid ( INT_NUMMER, STR_GEBIET ) VALUES ( :new.INT_INV_PT_NR, :new.GEBIET ); END;
Thank you
Good luck
-
Read xls file and display the data in the table.
Hello
Try to read the data from an xls or csv file and fill the same data in the table. If I need to use the table to store the data from the file and display, hoping that someone could help.
Thank you
Hari
Hi hari,.
One thing that is very important when you use the Excel activeX interface (in case you need it) is good termination of worksheet/workbook/lettering handles.
You need these handles to specify what cell in which file you are trying to access.
If you are unable to throw each handle you have, then you will be left with ghost Excel process in your task manager, devours your system's memory.
Thus, when debugging of your application, open the Task Manager and the watch as Excel treats created/destroyed and make sure that you end up with zero Excel process running when your application is closed.
Also consider the case of fault for your program. Check that your exit routes did not omit any termination of handle.
-
How can insert different types of data in the table?
Hello
How can I insert different types of data in the table, (e.g., numeric and string) in the same index of a table.example:
index0 car 10 greencar red 11 index1
Index2 car Blue 12where green car red and blue car as string and 10, 11 and 12 in the numeric form.
then I extracted 10, 11 and 12 a digital tableand, the green car, red car, blue car in a string array
Help!
Use 'Analysis of the chain' as in the picture as an attachment. This will extract the number and color that you can add tables later.
-
problem with the storage of the data in the table
Hello
I'm having the problem on the storage of data in the table. My problem is that whenever he makes a loop, the table just keep replacing them rather save to the next index. At 0, the value is 123, and 1 is 234. But I saw that all the data capture all crush to 0 until the last data see the 0. How can I fix this problem?
-
How to add data to the table changed in sql developer at Apex and vice versa
Hello
I had tables of database with sql developer. But now, I have modified the database (new tables added + changed the data in the tables). However, in the Apex, I the old database. Is it possible to get the new Apex database with the data of the table changed so this database in both places (sql and apex developer) is exactly the same... Also the other way around.
Thank you
The database schema that contains the tables, is it associated with the workspace even you are searching through the APEX product t development? Why I'm asking is, if they are the same schema, the tables that you MODIFIED should be appear in the sql for APEX workshop part. Now reports and forms will NOT see the changes (unless you have actually added or updated definitions for column).
Can you explain what exactly you were doing the SQL Developer to the tables in your schema?
Thank you
Tony Miller
Los Alamos, NM -
Hi experts,
I tried to load the data of EBS in HFM via FDMEE.
Importing data in the rule of loading, I have encountered an error in loading.
2014-11-21 06:09:18, 601 INFO [AIF]: beginning of the process FDMEE, process ID: 268
2014-11-21 06:09:18, 601 [AIF] INFO: recording of the FDMEE level: 4
2014-11-21 06:09:18, 601 [AIF] INFO: FDMEE log file: D:\fdmee\outbox\logs\TESTING_268.log
2014-11-21 06:09:18, 601 [AIF] INFO: user: admin
2014-11-21 06:09:18, 601 INFO [AIF]: place: Testing_loc (Partitionkey:3)
2014-11-21 06:09:18, 601 [AIF] INFO: name: OCT period (period key: 31/10/14 12:00 AM)
2014-11-21 06:09:18, 601 INFO [AIF]: name of the category: real (category key: 1).
2014-11-21 06:09:18, 601 INFO [AIF]: name rule: Testing_dlr (rule ID:8)
2014-11-21 06:09:19, 877 [AIF] INFO: Jython Version: 2.5.1 (Release_2_5_1:6813, September 26 2009, 13:47:54)
[JRockit (R) Oracle (Oracle Corporation)]
2014-11-21 06:09:19, 877 INFO [AIF]: Java platform: java1.6.0_37
2014-11-21 06:09:19, 877 INFO [AIF]: connect the file encoding: UTF-8
2014-11-21 06:09:21, 368 [AIF] INFO: - START IMPORT STEP -
2014-11-21 06:09:24, 544 FATAL [AIF]: error in CommData.insertImportProcessDetailsTraceback (most recent call last): File '< string >", line 2672, in insertImportProcessDetail
RuntimeError: No periods have been identified for the loading of the data in the table 'AIF_EBS_GL_BALANCES_STG'.
2014-11-21 06:09:24, 748 FATAL [AIF]: load balances data launch GL error
2014-11-21 06:09:24, 752 [AIF] INFO: end process FDMEE, process ID: 268
I found a post related to this error, but did not respond.
I know I'm missing something, gurus please help me to overcome this error.
~ Thank you
I managed to overcome this problem,
This was caused due to an error in the map of the time.
In the mapping of source, the name of period should be defined exactly as displayed in the EBS.
for example: {EBS--> OCT - 14} FDMEE {mapping source--> OCT - 14}
The names of the time must be identical.
-
Button insert data to the table
Hello
I use APEX 4.2.3 with XE, I try to insert data into the table using code below but nothing happen when I press the button, create this button like 'create a button to point to page'-> 'dynamic action'-> 'run pl/sql '.
begin insert into dummy values('xx'); commit; end;
So to clarify, you have
(1) created a button that "action" is "defined by the dynamic action.
(2) created a dynamic action that executes pl/sql at the click on the button and you are pl/sql?
-
How to export data from the table with the colouring of cells according to value.
Hi all
I use jdeveloper 11.1.1.6
I want to export data from the table with a lot of formatting. as for color cells based on value and so much. How to do this?
You can find us apache POI-http://poi.apache.org/
See this http://www.techartifact.com/blogs/2013/08/generate-excel-file-in-oracle-adf-using-apache-poi.html
-
Is it possible to see/get the data from the table to a dump file
I have files dmp generated using expdp on oracle 11 g...
expdp_schemas_18MAY2013_1.dmp
expdp_schemas_18MAY2013_2.dmp
expdp_schemas_18MAY2013_3.dmp
Can I use a settings file given below to get the data from the table in the file sql or impdp the only option to load the data of table in database.
VI test1.par
USERID = "/ as sysdba".
DIRECTORY = DATA
dumpfile=expdp_schemas_18MAY2013%S.dmp
SCHEMAS = USER1, USER2
LOGFILE = user_dump_data.log
SQLFILE = user_dump_data. SQL
and impdp parfile = test1.par.
No,
DataPump cannot retrieve a dumpfile data in a flat file.
Dean
-
Hello
It comes to my table
Insertion of the data in it with the procedure which takes 2 parameters of date format:CREATE TABLE TEMP_LEAP ( "DATE_FROM" DATE )
Now lets fill in the data in the table:CREATE OR REPLACE PROCEDURE "T_PROC" (p_dat_from date, p_dat_to date) IS BEGIN DECLARE day number := 0; st NUMBER := 0; BEGIN day := p_dat_to+1 - p_dat_from; for p in 1 .. day loop insert into temp_leapp (date_from) values (p_dat_from+st); st := st+1; end loop; commit; END; END;
Data are now filled in the table.execute T_PROC(TO_DATE('01.01.2010','DD.MM.YYYY'),TO_DATE('17.08.2013','DD.MM.YYYY'));
I want to do is do a select statement that will make the following output data:
I want is to get the leap year if there is a. I only need of days in the year, so don't mind the months.01.01.2010 - 31.12.2011 01.01.2012 - 31.12.2012 01.01.2013 - 17.08.2013
I need to check if there is a leap year in considering the p_dat_from and p_dat_to.
If it isn't then you will get a single record of our instruction select and values will be made of: p_dat_from - p_dat_to.
If there is a leap year in our period we will arrive after statements (example above).
01.01.2010 - 31.12.2011 <-first date is p_dat_from and second is the last day before the leap year
01.01.2012 - 31.12.2012 <-this is leap year. First date is the beginning of the leap year and the last date is the end of the leap year or p_date_to (if it ends in leap years).
01.01.2013 - 17.08.2013 <- and this is the period after the leap years.
It is a piece of code that I fell or with up to now:
OK, that's all. I hope that its understandable that I do.SELECT MIN(date_from), MAX(date_from) FROM temp_leap WHERE remainder(to_number(to_char(date_from,'yyyy')),4) = 0 union SELECT MIN(date_from) over (partition by to_char(date_from,'yyyy')), MAX(date_from) OVER (PARTITION BY to_char(date_from,'yyyy')) FROM temp_leap WHERE remainder(to_number(to_char(date_from,'yyyy')),4) <> 0 ORDER BY 1,2;
If you have a questions please ask away.
PS is there anything I need to do. You don't have to bother with the questions "what i February is after before etc." I don't love about it. All the other logic is already fixed all I need is what I wrote above.
Thank you.
Published by: BluShadow on March 14, 2013 08:24
Fixed barcode labelsHere's a way...
SQL> create table temp_leap(date_from DATE) 2 / Table created. SQL> SQL> insert into temp_leap 2 select date '2010-01-01' + rownum - 1 3 from dual 4 connect by rownum <= (date '2013-08-17' - date '2010-01-01') + 1 5 / 1325 rows created. SQL> SQL> commit 2 / Commit complete. SQL> ed Wrote file afiedt.buf 1 select min(date_from)||' - '||max(date_from) 2 from 3 (select date_from 4 ,sum(leap_yr_switch) over (order by date_from) as leap_yr_switch_cnt 5 from ( 6 select date_from 7 ,case when lag(leap_yr) over (order by date_from) != leap_yr then 1 else 0 end as leap_yr_switch 8 from ( 9 select date_from 10 ,case when mod(to_number(to_char(date_from,'YYYY')),400) = 0 11 or ( mod(to_number(to_char(date_from,'YYYY')),4) = 0 12 and mod(to_number(to_char(date_from,'YYYY')),100) != 0 13 ) 14 then 1 else 0 end as leap_yr 15 from temp_leap 16 ) 17 ) 18 ) 19 group by leap_yr_switch_cnt 20* order by min(date_from) SQL> / MIN(DATE_FROM)||'-'||MAX(DATE_FROM) ------------------------------------------- 01-JAN-2010 00:00:00 - 31-DEC-2011 00:00:00 01-JAN-2012 00:00:00 - 31-DEC-2012 00:00:00 01-JAN-2013 00:00:00 - 17-AUG-2013 00:00:00
Published by: BluShadow on March 14, 2013 08:51
a slight correction in the calculation of the leap year, forgotten 100 years being does not leap. -
What trigger to use to insert data into the table db forms
Hello
My form is current having a block of database with the table reference. When you enter data into the form field and click Save. Automatically record is inserted in the database table.
I want to do this under manual insert. I changed the block of data to a data non-base. Where should I write the insert statement to insert data into the table.
Is - shutter release key of the form-level validation?
Please notify.
Thank you
Didi.You can guide me how to remove the message FRM-40401 no changes to save and instead, I wanted to put 1 transaction record successful... some like it like that.
Hi didi.
And this is my last post I'll sleep. ;)
Take form level trigger named preform
and write on it:SYSTEM.MESSAGE_LEVEL := 5;
I hope this works...
Hamid
Mark correct/good to help others to get the right answers. *
Maybe you are looking for
-
Satellite 1410-902: what is this device has a WiFi antenna?
Hello. I have Toshiba S1410-902 and I want to make this computer works in wireless local area network. I am concidering buying card wifi Mini-PCI Slot, not the PCMCIA card. This is why I have a few questions: 1. this model (s1410-902) there "build-in
-
iMessage on Mac doesn't see Android phones
How do I can't receive a text to a phone Android from my Mac?
-
Engine for MyRio adapter command 2 DC motors
Hello I have a question about the adapter engine for the MyRio. I found the following code example: https://decibel.NI.com/content/docs/doc-45592 This afternoon, I was able to drive a motor continuous using this VI, but I want to use to control 2 Mot
-
My windows activate wont show up!
I try to activate windows... but all I get is this http://img24.imageshack.us/img24/6218/updatevb.jpg can someone tell me please on what to do? Thank you very much Brendan
-
E2314H, cannot use of old-growth monitor E
Hello I NTHE past I bought many e flat for the series of E various TFT (E2212, E2213, E1912, E1913...) without problem. Now, I bought a new tft E2314H and surprise! Dock of TFT VESA changed (there are now 3 tabs instead of 4) and e flat is not compat