Dynamically set height chart flash?
HelloI have a flash chart which includes a selector that changes the query for the chart. Depending on what the user selects, the chart displays a different number of lines (is be a stacked horizontal bar graph, but this could be apply to any type of chart). I would like to be able to dynamically set the graphic height based on the number of rows that the query returns. If I put it is too small and that the user makes a choice that refers to a larger number of lines, the bars in the chart are compressed to the point where the labels are illegible or omitted altogether. Conversely, if I set the height to a higher value and the user makes a selection which results in a small number of lines, the list is too long and difficult to read.
I'm able to calculate what I would like the height of the chart to be using a page element and one before the process of the header. But I can't understand how to pass this value to AnyChart. I tried to use an article of substitution (e.g., & P7_CHART_HEIGHT) as the value for the graph height on the graphic settings of attributes/Chart page, but this attribute requires a numeric value other than zero. I tried to understand if I could change the XML graph, but could not understand how do and I don't know substitutions is passed in the XML in any case.
Is there a way to dynamically set the height attribute of a chart at page load time?
Thank you
Mike
Tags: Database
Similar Questions
-
How to dynamically set the height and width of the image?
I'm trying to dynamically set the size of an image of "spacer", but this doesn't seem to work.
"< img src ="Images/SpacerYellow.gif"width ="5"height =" < cfoutput query = "Img" > #Img.Jan # < / cfoutput > "/ >
When I insert the source of the page and the view, it is the HTML < img src = "images/SpacerYellow.gif" width = "5" height = "745014" / > why so the stil teeny tiny image? "A better question would be, why are you trying to display an image of space which is more than 745 000 pixels high? The HTML code looks OK, so you may be panicking the browser.
From the point of view best practices, if you only want to display a value in the first row of a query, you can reference using the #MyQueryName.myColumn #. You need not include the query within the
tag. -
Dynamically set the Station process model
I noticed in an existing position, to dynamically set the active process template, you use the Engine.StationOptions.StationModelSequenceFilePath property. (Search for "How do I dynamically (at runtime) the models?").
But where do you put the statement that sets it?
Thank you
Oh yes I forgot to say in my last post
You can make a file of sequence requires a specific process template. So that no matter what the model of the station is on the sequence of file always use the designated model provide you.
With the sequence file that requires that the new process model open go to Edition > properties file in sequence. Under the Advanced tab, under model Options, select require a specific model. You will then see a box of template file. Navigate to your new template and select it. Click OK to exit.
Now, whenever this sequence file is opened, it will use this process template regardless of what is the model of the station.
Hope this helps,
-
Dynamic set of color cell Backround in IR
I'm on APEX 4.2 and have an interactive report I need dynamically set the cell background color. I have 15 columns of reports that contain numbers who need background together.
If value < 1 red
If the value 1-1, 9 yellow
If value > Green 1.9
I know that I could use the highlight by default IR feature and fix 45 conditions, but I'll try to do it in a single dynamic Action, or something on the IR region. Can someone help me?
Thank you
Add dynamic action on the loading of the page
Set fire Javascript
Add (CUSTOMER_ID with your COLUMNAME change)
apex.jQuery('td[headers="CUSTOMER_ID"]').each (function)
{
If ($(this) .html ())<>
{$(this) .css ({background: "red", color: 'white'}) ;}}
ElseIf ($(this) .html () > = 1 & $(this) .html ())<>
{$(this) .css ({background: 'yellow', color: "black"}) ;}}
on the other
{$(this) .css ({background: 'green', color: "blue"}) ;}}
});
Shure Morel you checked checkbox on fire on the charge.
Add affected items
Region
Select your report.
Hope this has been helpful for you.
Andrej Grlica
-
problem with the tutorial: creating a dynamic playlist for streaming flash video
Hi, someone tried the tutorial: creating a dynamic playlist for streaming flash video?
I followed the instructions exactly as stated in the tutorial and test the fla file, it worked perfectly, when I open the swf file using macromedia flash 8. All looks good. Nothing has changed except that the url is replaced by 'rtmp://localhost/videosource' in the xml file.
After I publish the file by using the parameter: network access only, I try to open the file swf and html file, the thumbnail does not appear and there is no way I can click on videos. What I see is that the list, and there is no answer the flash media server 2. All files in the same folder. Someone please help with this problem? Thank you.. .i debug movie step by step
and realized that the xml file is read by the code...Your initial problem said it worked but not playing outside of the
Flash authoring environment simply load the SWF from the hard drive.The Flash programming environment is an environment of confidence and so you really
need to test what a swf loading in the mode of deployment since the
hard drive is not a valid deployment, unless a Flash player installed is
available outside the web browser that you would like you have the
Authoring tool and your users will not.Use a browser with http://yourdomain.com/yourmovie.html to make final
debugging.In this regard, you will need to debug movie when running in real time
mode in a web browser with http:// A technical track, I suggested is of
create a temporary TextField might be named out_txt and send the trace message to
It's like out_txt.text += 'my Expression of Trace ".--
LON Hosford
www.lonhosford.com
Number of happy bits exempts your way!
"free23"wrote in message
News:e4a37a$AK5$1@forums. Macromedia.com...
Sorry but I don't understand what you mean... to debug the movie step by step
and realized that the xml file is read by the code...
It is a sample of my log files:
#Fields: date time x - pid registered x x - ctx x-comment
2006-05-15 20:08:58 3072 unloaded application instance (i) 2651170
VideoSource/_definst_-
2006-05-15 20:48:19 3848 (s) FCApplication 2641173 successfully loaded.
2006-05-15 20:48:19 3848 (s) 2641173 Communication Executive
successfully.
2006-05-15 20:48:19 3848 (s) SimpleConnect 2641173 successfully loaded. -
2006-05-15 20:48:19 3848 (s) successfully loaded 2641173 videoconference. -
2006-05-15 20:48:19 3848 (s) 2641173 Video Playback loaded successfully. -
2006-05-15 20:48:19 law enforcement components of Communication 3848 (s) 2641173
successfully.
2006-05-15 20:48:19 3848 (s) 2641173 sends this message: Hello! You are
logged in as: not defined.
2006-05-15 20:48:19 3848 (e) 2641190 error: msg sent to the client command
connection has been accepted. -
2006-05-15 20:48:20 3848 (s) 2641173 sends this message: Hello! You are
logged in as: not defined.
2006-05-15 20:48:20 3848 (e) 2641190 error: msg sent to the client command
connection has been accepted. -
2006-05-15 20:48:20 3848 (s) 2641173 sends this message: Hello! You are
logged in as: not defined.
2006-05-15 20:48:20 3848 (e) 2641190 error: msg sent to the client command
connection has been accepted. -
2006-05-15 20:48:20 3848 (s) 2641173 sends this message: Hello! You are
logged in as: not defined.
2006-05-15 20:48:20 3848 (e) 2641190 error: msg sent to the client command
connection has been accepted. -
2006-05-15 20:48:20 3848 (s) 2641173 sends this message: Hello! You are
logged in as: not defined.
2006-05-15 20:48:20 3848 (e) 2641190 error: msg sent to the client command
connection has been accepted. -
2006-05-15 20:49:42 3848 (s) 2641173 sends this message: Hello! You are
logged in as: false. -
Hello
I set 4 roles in the application. In the navigation of workflow, I created a notification. How can I dynamically set the name property of role of the Notification message so that as soon as the order is delivered to this notification, all users in this role Gets the notification message?
Thank you.Hello
Define an attribute that contains the value of one of the four defined roles. Then create an activity (with a specific function) who will choose the role and assigning to the attribute.
In the notification, give the value of the performer or performing as the name of the attribute.
This will solve your purpose.
Kind regards
Kumar. -
How to outsource the JNDI name (dynamically set the JNDI name)
Hello
In the adapters such as ftp, database, must specify the jndi name. This binds the adapter to a particular jndi name. It's certainly better that connect the adapter directly to the physical resource, I was wondering if it is possible to have still more flexibililty-setting the jndi name dynamically.
Basically my requirement is to develop a web service that reads a file from a FTP location. I know that I can outsource the file name and directory, but I wonder how to dynamically set the ftp location.
http://Darwin-it.blogspot.com/2008/03/configuration-of-FTP-synchronous-get.html gives the answer if I want to set the host name, portname, user id and password.
But I want to configure the adapter got FTP and then use this JNDI name in my service. Is this possible... I am using SOA 10.1.3.3
Kind regards
AmitI've sent.
-Rigault.
-
Dynamically set the height of the rectangle
I need to define a rectangle of height according to the items it contains dynamically. I need the container to float its size accordingly.
For example:
'Apple' class needs an extra 10 pixels height
"Pear" class needs an extra height of 10 pixels
"Peach" class needs an extra 10 pixels height
So... i f I switch Apple, pear, fishing all on... I have to add 30 pixels to the height of the 'rectBasket'.
Goal: cart adjusts its height at each rocker. In the rocker by each fruit:
If (SYM $("..) (Is Apple") (": visible ")) {}
SYM $(".) Apple"). Hide();
var htApple = 0;
} else {}
SYM $(".) Apple"). Show();
var htApple = 10;
}
var htBasket = htApple + htPear + htPeach;
Is it important that PEAR and fishery variables have been set into a different scale?
sym.getComposition () .getStage ().getSymbol("GV-4Cases").$("rectBasket").css ({"height": "htBasket"});
Place immediately after, shouldn't this resizing the basket?
No luck.
I'm a 'high functioning designer' with respect to the code. Can someone correct me with a simple and clear description or give a better method (direct, easy) to dynamically change the height of the "rectBasket"?
Thank you very much! Grace
I did it. I forced myself to understand the variables (you can hear me, designers).
Goal: float a rectangle size, whose elements are oriented, such as when items are turned on, the rectangle grows (if the elements do not overlap each other). An accordion of sorts. Each of the elements is relative to the upper or down, so when the rectangle increases, the elements are drawn out.
BTW, thanks to resdesign which is always useful to read. His other posts have helped tinkering me together an answer to my specific case. THX!
Step 1:
Declare the variable in compositionReady
Declare variables as elements call later
var AppleHigh;
var PearHigh;
var PeachHigh;
var ComboHigh;
Step 2:
In the code of the rocker of each element (switching power of the Apple, pear, fishing,..), declare the variables in the main code
var AppleHigh;
var PearHigh;
var PeachHigh;
var ComboHigh;
Step 3:
Below it, create a toggle of the value of the variable
for the class of Apple
If (SYM $("..) (Is Apple") (": visible ")) {}
var AppleHigh = 55;
} else {}
var AppleHigh = 0;
}
for the Pear class
If (SYM $("..) (Is pear") (": visible ")) {}
var PearHigh = 55;
} else {}
var PearHigh = 0;
}
for the Peach class
If (SYM $("..) (Is Peach') (": visible")) {}
var PeachHigh = 30;
} else {}
var PeachHigh = 0;
}
Step 4:
Below it, declare and set the variable that matches the new height
var comboHigh is 175 + AppleHigh + PearHigh + PeachHigh;.
Alert (comboHigh) / / / uncomment to test the value in the pop up window
NOTE: 175 is the height of the initial base rectangle
Update: I use it instead
Declared ' var boxStartSize; "in both: compositionReady and above the rocker in the code of the item
In the code of the item...
var boxStartSize = sym.getComposition () .getStage ().getSymbol("GV-4Cases").$("CASE-master-box").height ();
Gets the entire value of the height
var comboHigh = boxStartSize + bottomlyHigh + pronounHigh + pseudosHigh + personalsHigh;
It is therefore only once that I copy this structure all over in different places, I didn't go back to handcode the height of the original rectangle.
Step 5:
The score allows you to change the height of the box
ENTER IN THE HEIGHT BOX.
sym.getComposition () .getStage ().getSymbol("GV-4Cases").$("CASE-master-box").css ({"height": comboHigh});
IMP: no quotes on the value of the variable.
Quotes on the value of the variable were a big obstacle for me. It took me a while to understand this detail. Ugh.
Step 6:
Create the same for each rocker of the element, then the height is re-evaluated whenever you change a toggle.
Step 7:
Assign/check the relative angle.
Check on what corner your items received! Select the item, look for the 4 tiny squares next to Global applied icon in the properties panel. Choose a corner. Where the element is fixed in relation to a parent.
Make sure that the element has a parent via dragging on a div or in a rectangle structure structure.
Example could look like this:
RectangleMaster
> RectangleApple
> Apple.svg
> RectangleFruitChoice
> RectanglePear
> Pear.svg
> RectanglePeach
> Peach.svg
Here, in this example, RectangleMaster is the parent of RectangleApple and RectangleFruitChoice. This means that I did slide the rectangles on another rectangle to build the structure. Select the element and choose a corner of the icon of small places accordingly.
Similarly, RectangleFruitChoice is the parent of RectanglePear and RectanglePeach.
In this way, you can build a complex and dynamic structure.
Best of luck to you all, code-ambitious designers out there! /GB
-
Height of DataGrid--dynamically set in ActionScript
When a DataGrid is set dynamically at runtime using an XML source, how you set the height of the DataGrid to display all items?
I tried:
myDataGrid.height = myXML.items.length * myDataGrid.rowHeight;
The DataGrid control is always 1 pixel height (showHeaders is set to false)
TIA,
GeorgeFound!
It was a programming error! It should be:
myDataGrid.height = myXML.items.length () * myDataGrid.rowHeight;
Note that length() is a method call. It turns out that E4X treated length (no parens competence) as a child element and is not a.
Still learn E4X, it rocks!
Thanks for the help Tracy!
George
-
How do the dynamic set for the PID control point
Hi all
Here, I have a question about regulation PID setpoint. Now, I've built a program in which the vi PID setpoint. may not be a constant. But I want to improve the program by allowing the set to be dynamic, saying the dynamics, I want to say maintaining the setpoint change over time, it could be like a sine wave, or better could be a custom shape. Could someone tell me how to fill that?
Thank you
CJ
-
To dynamically set values as session variables
Hello guys,.
I have a little problem with dynamically fixed values for text fields in my application. It is possible to set and passes the value even though I assign values, using the source (static, sql or other) but if I change the value in this field using a dynamic action it will not pass these values where I need. It shows a blank State, even if they are visible. Is there any solution to get these values passed as session variables.
Kind regards.
-shashikahk-
Looks like you need to investigate the use of the property "items to submit Page.
-
How do I dynamically set values of the pages on a null value when an item is changed
Hi all
I am new to Oracle Apex.
I have P_ITEM1 as a selection and P_ITEM2 also a list selection of value P_ITEM1. (to my condition that I do not use cascading article Parent LOV)
I submit the page when the P_ITEM1 value is selected then LOV on P_ITEM2 gets refreshed based on the P_ITEM1 value.
I am train to clear the item previously selected to P_ITEM2 when the value of P_ITEM1 is changed.
I tried to create a dynamic action on the change on P_ITEM1 event and net Action on P_ITEM2.
and the dynamic action does not work.
Thank you.
-Kumar
Kumjeeth
Set the attribute area of the Page to send items to P_ITEM2. He would submit the P_ITEM2 on dynamic action of refreshment.
Nicolette
-
Dynamically set a value based on the selected value of LOV
Apex 4.2
I can't create a dynamic action to set a value. I have used dynamic actions to hide and display areas but for some reason any cannot set a value.
I have a list of selection-> P101_LIST. Type of source is "Column of the database". Source of value or an expression is "person_id" the query is as follows:
Select first_name, person_id From Persons
I have a display-> P101_DISPLAY value. Source type is 'static Assignment. The source value or expression that I left blank.
I would like for each time the user selects a name of P101_LIST, the P101_DISPLAY element is updated to display the value (person_id) correspondent.
Because there are other page elements / information on the page, I prefer that to not submit / update of the page. Would not want other page elements / information update.
Any help on this would be greatly appreciated. Thanks in advance.
Hello
Create a DA:
-event onChange P101_LIST
-Action: PL/SQL
-PL/SQL code:
: P101_DISPLAY: =: P101_LIST;
What to submit: P101_LIST
Point of return: P101_DISPLAY
And in fact.
Kind regards
Joni
-
Dynamically set application homepage
4.2.1
Theme-25
Hello world
We have an application tabs where the default home page is page 10. However, due to performance issues, we have created another home page (11) with a slightly different set of the statement. We have active SSO. The corresponding tab and the page will be disabled based on the role that the user has. So, if the user has a Manager role, it will only see page 11, another page 11 is hidden and other users will see page 10.
My question is, under change the properties of the application set us the url of the home page. Now is it possible to change dynamically, which? Otherwise, if I have 11 specified, but who is disabled based on the role. It will get an error
Any suggestions please
Thank you
Ryan
To do this is to set the URL of the home page as the page most users will see (page 10) and define a branch before the header to page 11, that depends on the current user with the role manager.
-
Problem with dynamic setting where the clause OFA
Hi all
I have a view object with the following query:
SELECT rownum LINENUM,
B.line_id LINE_ID,
B.INVENTORY_ITEM_ID INVITMID,
B.QUANTITY_DELIVERED PICKQTY
MTL_TXN_REQUEST_HEADERS a,.
MTL_TXN_REQUEST_LINES B
WHERE A.HEADER_ID = B.HEADER_ID
AND A.MOVE_ORDER_TYPE = 2
AND "on" =: 1
AND B.TO_SUBINVENTORY_CODE = NVL(:4,B.TO_SUBINVENTORY_CODE)
AND A.request_number = NVL(:5,A.REQUEST_NUMBER)
UNION ALL
SELECT rownum LINENUM,
a.wip_entity_id LINE_ID,
a.INVENTORY_ITEM_ID INVITMID,
a.QUANTITY_ISSUED PICKQTY
WIP_REQUIREMENT_OPERATIONS has
eam_work_orders_v b
WHERE a.wip_entity_id = b.wip_entity_id
AND "on" =: 2
AND a.ATTRIBUTE2 = NVL(:4,a.ATTRIBUTE2)
and b.wip_entity_name = NVL(:6,b.wip_entity_name)
I need to dynamically pass a condition to my where clause that I can manage it by setting two binding settings in the query of vo and can pass it on but the problem is the connection variable contains a string like 1311,13112,14445 that I need to spend for a domain like B.line_id in the first query and b.wip_entity_id in the second query , so when I'm passing the string as a value it works fine, but it gives for value separetd by comma prob.
so I tried passing dynamic where clause, but there is every time that the execution of the first clause only how can I dynamically pass both queries.
vo.setWhereClause ("LINE_ID in" + wherclause);
Please help me
Thnaks
Deb
Hello
Actually I'm passing the parameter to the basic page popup, so in page popup page and the base, I was using the VO even to run then, probably due to that he was running again for all data, so for the basic page I created a new VO and tried to pass the parameter like when clause for questioning now it runs very well Thank you for all your help
Maybe you are looking for
-
Contacts disappeared, but available in Messages?
Late last fall, I realized that all my contacts disappeared from my iPhone 6. I had done a backup before a trip and all my music, photos, everything was still fine but I realized once I got to my destination that all contacts were missing in the Cont
-
HP Pavilion g7-2270us: HP Pavilion g7-2270us dvd drive no work and make noise and open habit
my cd/dvd drive has stopped reading discs, and then for good measure he has decided to stop the opening and started making a noise that sounds like it is trying really hard to turn the disk. but just can't. When I press eject, there is an another co
-
I constantly have problems in sending and receiving mail from my internet account BT via Windows Mail. Messages will be missed or simply not materialize, call the help of BT line; they blame Microsoft for problems? This is the last error message -
-
With a high resolution, the proportions of my photos and slides is false.
With a high resolution, the proportions of my photos and slides is false. To show the ration of good appearance, got very low resolution. I searched in the vein of a cure, but certainly there must be a.
-
Step by step Windows Vista CD & book
I am trying to load the program from the cd according to the instruction of the book-a problem with my computer to read the cd or the cd After loading the cd, I press the window installation practiice file I get the message An error occurred in the s