Dvt:barGraph how to put anotation text at multiple positions
We are rendering some data in the form of bargarph using dvt:barGraph.
Here we want to achieve couple of usecases which are as following
1) we need to put anotation text at multiple positions on the graph.
2) We are using Reference Objects in the bar graph. The text that appears as tooltip for these Reference Objects, we want to render that text embedded in the reference objects as static text.
how to acheive the above?
I am using Jdev 11.1.1.3.0
Thanks
Ajay
Edited by: Ajay on Mar 13, 2012 6:06 AM
The "clipboard" service for copy and paste between applications on a PC is usually a built-in function of the operating system - Mac, Windows, Linux, etc. There are applications available for extending the clipboard feature; I use one named Clip Trakker which allows me to save multiple "text clips" of ''[say]'' text from the internet which are saved in Clip Trakker, and then paste each of those "text clips" into a different program like Word ''[I actually use Libre Office]''.
I am not familiar with applications for Mac OSX, so I can't make any recommendations about an application.
As far as extensions for Firefox, there are many extensions that come up in a [https://addons.mozilla.org/en-US/firefox/search/?q=clip&appver=any&platform=all search for "clip"] at the Add-ons Mozilla Org website. You can look to see if you can find any that will do what you want to do, like maybe this one: <br />
https://addons.mozilla.org/en-US/firefox/addon/clipboard-plus/
Similar Messages
-
How to put a text in Child query
HI,
I need to put a text when dont find child records which says "PO not found",
Oracle 10G
report design consist of one man group and child records
ex:
main subquery
P44001 desc BOMqty total date1 qty line1 ponum1
....................................date2 qty line12 ponum1
....................................date2 qty line3 ponum2
P44002 desc BOMqty total “no po found”
P44003 desc BOMqty total date4 qty line4 ponum1
....................................... date2 qty line2 ponum1
....................................... date2 qty line5 ponum2
Thanks,
HarshaHi, Harsha,
That sounds like a job for OUTER JOIN.
For example, using scott's tables:
SELECT d.deptno
, d.dname
, NVL2 ( e.deptno
, e.ename
, 'No emp found'
) AS ename
FROM scott.dept d
LEFT OUTER JOIN scott.emp e ON e.deptno = d.deptno
ORDER BY d.deptno
;Output:
` DEPTNO DNAME ENAME
10 ACCOUNTING CLARK
10 ACCOUNTING KING
10 ACCOUNTING MILLER
20 RESEARCH JONES
20 RESEARCH FORD
20 RESEARCH ADAMS
20 RESEARCH SMITH
20 RESEARCH SCOTT
30 SALES WARD
30 SALES TURNER
30 SALES ALLEN
30 SALES JAMES
30 SALES BLAKE
30 SALES MARTIN
40 OPERATIONS No emp foundNote deptno=40, which occurs in dept, but not in emp.
If ename happened to be NULL in emp, then the NULL would appear in the ename column. If ename can not be NULL, then you can replace the NVL2 expression witH
NVL (e,ename, 'No emp found')
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
Explain, using specific examples, how you get those results from that data.
If you can show the problem using commonly available tables (such as those in the scott schema) then you don't have to post any sample data: just post the results and the explanation.
Always say which version of Oracle you're using (e.g., 10.2.0.4.0). There is no version 10<b>F</b> or 10<b>H</b>, so it's kind of silly to say you have 10<b>G</b>
See the forum FAQ {message:id=9360002} -
Dvt:barGraph - how to get value of clicked bar on browser side
I am trying to implement a drill-down function where the end user selects a bar on the dvt:barGraph. I would need to be able to get the value of the selected bar, and pass this value to a third-party javascript library.
I have tried experimenting with
<dvt:shapeAttributes component="GRAPH_TWODMARKER" clickable="true" clickListener="#{backingBeanScope.backing_MyPage.barClicked}"/>
The backing-bean method implementation is
public String barClicked(ClickEvent event) {
ComponentHandle handle = event.getComponentHandle();
if (handle instanceof DataComponentHandle) {
DataComponentHandle dHandle = (DataComponentHandle) handle;
Double barValue = (Double) dHandle.getValue(DataComponentHandle.UNFORMATTED_VALUE);
return "alert(\"" + barValue.toString() + "\");";
else {
return "alert(\"0.0\");";
However, when I clicked on a bar on the graph I do not see the javascript alert method popup.
I also tried
<dvt:shapeAttributes component="GRAPH_TWODMARKER" onClick="#{backingBeanScope.backing_MyPage.onClicked}"/>
using the backing-bean method
public String onClicked(ComponentHandle handle) {
if (handle instanceof DataComponentHandle) {
DataComponentHandle dHandle = (DataComponentHandle) handle;
Double barValue = (Double) dHandle.getValue(DataComponentHandle.UNFORMATTED_VALUE);
return "alert(\"" + barValue.toString() + "\");";
else {
return "alert(\"0.0\");";
However, using onClick causes the graph to be not displayed at all. All I see is a grayed-out area where the bar graph is supposed to be rendered.
I can produced a javascript alert using the following:
<dvt:shapeAttributes component="GRAPH_TWODMARKER" onClick="alert('hello');"/>
Is there another technique I could try? If possible, I would like to be able to get the bar's value on the client side, so there is no AJAX call performed.
The JDeveloper version I am using is
Studio Edition Version 11.1.1.1.0
Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
The web browser I am using is IE8, Version: 8.0.6001.18702IC
Thank you.Has anyone came across this same problem before and were you able to solve it? If yes, how were you able to solve it?
Thanks -
How to put a text in upper left hand corner for all the application?
I want to put a text in upper left hand corner for all the pages on application?
I don't want to put one page by another.
Thank you.If you put it in a region on page zero, it will be inherited by all pages of the application.. Literally in the upper left corner? Even the login page? You could also modify the template page that your using from your theme, so that all pages would have this attribute, whichever you are more comfortable with..
Thank you,
Tony Miller
Webster, TX -
How to put digital text on ipod? playing video on tv?
I WANTED TO KNOW HOW TO TRANFER DIGITAL TEXT TO AN IPOD.I DOWNLOADED IT FROM ITUNES AND IT CAN'T BE DRAGGED ON MY IPOD. also do i need a special cable to play videos on a tv or will a stereo audio cable work?
thanksI WANTED TO KNOW HOW TO TRANFER DIGITAL TEXT TO AN IPOD.
What is digital text?
I DOWNLOADED IT FROM ITUNES AND IT CAN'T BE DRAGGED ON MY IPOD.
Do you mean you downloaded it form the iTunes Music Store? (iTunes is a program. You cannot download from it.)
What is it?
also do i need a special cable to play videos on a tv or will a stereo audio cable work?
An audio cable will get the audio but not the video.
That is why it's called an AUDIO cable. -
How disable PDFEdit combines text from multiple Tj operators
HI
In http://help.adobe.com/livedocs/pdfl_sdk/9/PDFL_SDK9_HTMLHelp/API_References/Acrobat_API_Re ference/PDFEdit_Layer/PDEText.html mention that "PDFEdit combines text from multiple Tj operators into a single text run, when possible "
how I can disable this feature
I want disable this feature because I write a program that process (encrypt) and copy every element recursively , I used chain encryption algorithm that mean if one bit change or shift all result will be wrong
when I encrypt, for example count 323 run in one textelement but after encryption and when I want decrypt in same textelement I just get 322 run, I think this problem caused by PDFEdit combines text.
thanks for your helpPdfedit can and often will write a completely different set of operators. It converts the operators to an object representation, then wites opererators for the objects. you cannot stop this, it is what it is supposed to do.
-
How to send one text to multiple numbers
On iPhone 3GS , how do u send 1text to multiple numbers?
The information below implies you must use MMS or iMessage (not SMS).
[extracted from the iPhone User Guide for iOS 5]
Sending messages to a group
Group messaging lets you send a message to multiple recipients. Group messaging works with iMessage and MMS (not available in all areas).
Send messages to a group: Tap the new message button, then enter multiple recipients.
Note: With MMS, group messaging must also be turned on in Settings > Messages, and replies are sent only to you—they aren’t copied to the other people in the group. -
How to put long text by idoc into FB01?
Hi,
I am using Idoc ACC_DOCUMNENT to create FB01 transaction but there is place to put the long text for the item.
Do you know how to update the long text using an Idoc?
please do Not reply "try using function SAVE_TEXT".
Thanks guys...I'm having what I think is a similar problem but haven't found a soulution...
I have a phone number for a contact that is 41 characters long (it's numbers and a couple commas (",") for pauses.
When I touch the number to have my iPhone dial it - the iPhone does nothing.
If I touch other numbers for the same contact (that are shorter) - it works.
Is there a maximum lengh for phone numbers?
Or is there something I should do? (ie. is there a way to dial the first half, and then press something ?? that would have the iPhone dial the remainder of the number?)
Thanks! -
How to put a text into a picture package.
I want to print a set of 6 pictures onto a single sheet of paper with a heading on the top. I can do this by exporting all 6 pictures as jpegs, creating a page in my favourite word processor or publishing package and doing it all there.
However, Lightroom 3 allows me to create a page with the 6 photos, but I can't see any way to put a heading on top. Is there any way to do this?
While on the subject, is there any way to put a freeform text label below each picture?
Thanks
TonyIf you put it in a region on page zero, it will be inherited by all pages of the application.. Literally in the upper left corner? Even the login page? You could also modify the template page that your using from your theme, so that all pages would have this attribute, whichever you are more comfortable with..
Thank you,
Tony Miller
Webster, TX -
How to put the text "BottomCENTER" from inside JLabel1 out of Jlabel1??
Dear friends:
I have following code,
It can run.
I hope to move the text "BottomCENTER" from inside JLabel1 out of Jlabel1,
I mean Text "BottomCENTER" should be display outside of JLabel1
import java.awt.Color;
import java.awt.GridLayout;
import javax.swing.BorderFactory;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
public class AlignmentExample {
public static void main(String[] args) {
// Create the labels and set alignment
JLabel label1 = new JLabel("BottomCENTER", SwingConstants.CENTER);
JLabel label2 = new JLabel("CenterLeft", SwingConstants.LEFT);
JLabel label3 = new JLabel("TopCenter", SwingConstants.CENTER);
label1.setVerticalAlignment(SwingConstants.BOTTOM);
label2.setVerticalAlignment(SwingConstants.CENTER);
label3.setVerticalAlignment(SwingConstants.TOP);
// Add borders to the labels . . . more on Borders later in the book!
label1.setBorder(BorderFactory.createLineBorder(Color.black));
label2.setBorder(BorderFactory.createLineBorder(Color.black));
label3.setBorder(BorderFactory.createLineBorder(Color.black));
label1.setBounds(10, 10, 200, 150);
// Put it all together . . .
JFrame frame = new JFrame("AlignmentExample");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JPanel p = new JPanel(new GridLayout(3, 1, 8, 8));
p.add(label1);
p.add(label2);
p.add(label3);
p.setBorder(BorderFactory.createEmptyBorder(8, 8, 8, 8));
frame.setContentPane(p);
frame.setSize(400, 500);
frame.setVisible(true);
Thanks so much!!change following JLabel1
| |
| |
| |
| JLabel1 |
| |
| |
| |
into following Jlabel1:
| |
| |
| |
| |
| |
| |
| |
JLabel1
Thanks -
How to put my text messages in order by timestamp?
I noticed today that some of my text messages lost their time order. A few of them I sent yesterday and now they appear with yesterdays timestamp but, they are arranged after the texts I've sent today. Why is this?
A text message is listed in the Messages app based on the last text received. If you started a thread yesterday, or last week, then started another one with someone else later, when you start the next one, it appears on top. However, if someone responds to yesterday's thread, then it would move to the top. Is that what you are referring to?
-
How to put header text in a PO programatically.
Hi everybody ,
Is there anyway in which I can update Header Text in PO using BAPI_PO_CHANGE or some other function module.
Thanks in advance for your help .
Regards
SaurabhI think I have found out !!
Regards
Saurabh -
How to put in text mark in some points in AreaSeries?
I have a AreaSeries, I'd like to mark some of the points, either with text or image. I am not sure which method to use, I'd like to use default behavior for most of the other series points.
Thanks in advance.I tried to create a customized itemRenderer, but failed
Here is the piece of code:
<mx:Script><![CDATA[
public function myRenderer(item:Object): ClassFactory {
if (item.type == "1") {
return new ClassFactory(CrossItemRenderer);
} else {
return new ClassFactory(BoxItemRenderer);
]]></mx:Script>
<mx:AreaChart>
<mx:series id="testseries" itemRenderer="myRenderer"
Error message: Definition of myRenderer could not be found
Implicit coercion of a value of type Function to an =unrelated type Class
</mx:AreaChart>
Please advise.
Thanks. -
How to Put scrolling text below masthead?
Hi,
I have written a portal component which has got marque text.
I want to display this marque text just above the top level navigation and below the masthead.
I added my component in the framework but then when I login only my component is displayed.
Regards,
AnaghaHi,
If it is a portal component, you can create iView from the component directly. Open default framework page (DFP) and right click the iView and add it to DFP. Make sure you have set entry point property of iView to Yes. In the DFP, click on page layout radio button and arrange the iView next to masthead and save it. Logout and login back to check. I would advise to check these with copy of DFP since any wrong changes done to standard DFP can cause other portal problems.
Regards,
Harini S -
A little help please as it's been years since I've done any coding of any sort.
So I have a 4 page document with various field types. I have a document script that gets "TodaysDate" that works perfectly and a few other scripts as well.
So what I'm trying to do is find a work around for the following:
I have 3 fields - SURNAME, FIRSTNAME & dob.
And I want what is typed into these fields to populate into 1 field. And according to this tutorial (http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript) it's not exactly possible. At least I think that's what it says.
However I'm hoping that maybe I could have a Submit button at the end of that document that when clicked would copy the text from those 3 fields (that I would have on 1 layer) into 1 field on a 2nd layer. Is that even possible??
I'd also like to have the document Print, Save (using the text in the field on the 2nd layer as the file name), Email (using the text in the field on the 2nd layer as the subject line) and Export to a specific Excel spreadsheet.
I don't want much do I?
I'm using Acrobat 9 Pro on a Windows PC but also have access to Acrobat 8 Professional. And I'm going to want the form to run in Acrobat Reader X.
So far I have for the 3 fields into 1 on another layer:
function buttonClick(){
if(buttonClick==false)
event.value=this.getField("SURNAME"+"-"+"FIRSTNAME"+"-"+"dob").valueAsString;
But I have no idea how to call the event.value from 1 layer to another or if any of that code above would even work at all.
I have a script that I believe will work perfectly for the Save and Email function:
Using the “doc.submitForm()” function
// This is the form return e-mail. Its hardcoded
// so that the form is always returned to the same address
// Change address on your form
var cToAddr = "[email protected]";
// First, get the client CC e-mail address
var cCCAddr = this.getField("ClientEmail").value;
// Now get the beneficiary e-mail only if it is filled out
var cBenAddr = this.getField("BennyEmail").value;
if(cBenAddr != "") cCCAddr += ";" + cBenAddr;
// Set the subject and body text for the e-mail message
var cSubLine = "Form X-1 returned from client"; var cBody = "Thank you for submitting your form.\n" + "Save the mail attachment for your own records";
//** Send the form data as an XML attachment on an e-mail
// Build the e-mail URL
var cEmailURL = "mailto:[email protected]?cc=" + cCCAddr + "&subject=" + cSubLine + "&body=" + cBody;
this.submitForm({
cURL: cEmailURL,
cSubmitAs:"XML",
cCharSet:"utf-8"
I'll work out the Export to Excel thing later as I've seen many tutorials on that. But can I do the 3 fields to 1 thing at all?
Please Help!!!Sorry Gilad. I hope I'm not getting on your nerves (too much) but as I said it's been a while since I did any formal code. And I'm trying to do this code for a work document but I'm doing it in amongst so many other things I do for my job that it's difficult to get the time to concentrate for longer than 5 mins.
I didn't get a chance to try that code until just now. I guess I asked again as I thought (from what I'd read) that it wouldn't be that simple.
So I've added that code and I get no errors. But it doesn't appear to be doing anything either. I've added the code like this in the Custom calculation script of a separate field I've called FileName. And on the Button i'm using I've added: buttonClick()
function buttonClick(){
if(buttonClick==false)
event.value=this.getField("SURNAME").valueAsString + "-" + this.getField("FIRSTNAME").valueAsString + "-" + this.getField("dob").valueAsString;
So now I'm guessing that becasue i'm not getting an error or a result that I've screwed it up still. Have I put the code in the correct area? Have I assigned a the buttonClick() function correctly?
Maybe you are looking for
-
New computer, old computer's hard drive crashed
First of all I'm quite a novice with regards to my ipod, so please bare with me. I have a new computer because my old computer's hard drive crashed. How can I get my songs from my ipod on to my new computer? TIA
-
The scan's to PDF file can not be printed
Hello, Im have an Mac running on Mac Os X 10.7.3 I bought a HP officejet PRO 8500 A910. The printer is installed and works fine if a want to print a document or a picture. The scanner also works. BUT there is a problem. When I scan a document in my H
-
Hi I have an iMac with mountain lion that has the latest updates, plus FCPX installed and also up to date with all updates. I have a BlueRay recorder attached via USB which worked perfectly well with fcpX, until I recently updated to the latest FCPX.
-
Programmed binding in workflow
i had to do calculation with in programmed binding . can any one help me to do it . regards kamal
-
Partial trigger and required field
We developed an ADF JSF application which some of field has partial trigger . Then we add some required field. when runtime when we change any partial trigger target item all field validated and "required field missing message" occurs. How can we pre