How to add several hyperlinks in a graph on different location

Hi,
I have been able to create hyperlink using srw.set_hyperlink() for text report.
I create a bar graph to show data monthly, (Jan, Feb, ..., Dec), thus showing 12 bars in a bar graph.
I need to make different hyperlink (to drill down) for each month.
So when user click one of the bar (i.e January bar), then it will drill down to data for January.
Is there possible to create several hyperlinks in a graph, to link to different location?
If possible, where should I put the srw.set_hyperlink()?
How can we handle, the location to be placed with the srw.set_hyperlink()?
What if it is a pie graph, can we do the same?
Many thanks,
Buntoro

Hi Fazith,
thanks for your answer.
I have tried it:
a=CROSSTAB_1.getSelectedMember("OD_NW_Regio").text;
APPLICATION.opennewWindow("http://www.wetter.net/47/"+a);
For testing, I want that the name of the city which is filtered with Dimension OD_NW_REGIO should be added to the url wetter.net (it should show me the weather for the selected city).
But this script didn't work. I think i have to define "a" or not?
And according to the onselect function, will the separate report (in this case the weather-side for the selected city) open automatically, or must I click anything?
Thank you for your help.
Kind regards,
Heike

Similar Messages

  • How to add a hyperlink to javamail attachment?

    Hi friends:
    I am writing a mail systems.I can receive email attachment using javamail API. But I don't know how to add a hyperlink to the attachment so when user click the hyperlink the file will be download to disc.
    I means that I want to add a hyperlink to the attachment,the hyperlink will get the file's path in mail server.Because the mail's attachment are stored in mail server so I don't know how to get it in my servlet.
    what I can do is get a inputstream using messagePart.getInputStream();. I only can get a inputstream in servlet.How to change the inputstream to a File when user click it and download it?
    Help!
    Thks

    I am making a same application now...
    You have 2 possibilities:
    1. Save all the data from the stream to a file That is accessible from the outside through HTTP and then put a link to it
    2. Make a link to a seperate JSP page with the following parameters: Folder name (describing where the desired message is), Message id (the number of the message inside the folder) and Part number (you will have to count it yourself). The JSP page then returns all the data.
    If you do the second thing, you will have to take care that the first line in the jsp starts with <% because if it does not, the JSP will send an \r\n and that will modify the data.
    You will also have to do the following:
    response.setHeader("Content-Disposition", "attachment; filename=myfile.txt");
    response.setContentType("application/octet-stream; name=myfile.txt");If you know the MIME type, replace application/octet-stream with the MIME type.
    Michael

  • How to add a hyperlink to my Frame?

    Hi everyone:
    I want to add a hyperlink to my swing application .When user click it whick will open a IE and go to mywebsite.But it is so difficult ,my code don't work property.
        je.setPreferredSize(new Dimension(180, 22));
        je.setEditable(false);
        je.setPage("http://localhost:3030/lyomail/html/link.htm");
        final JTextField jf=new JTextField("http://java.sun.com");
        jf.setEditable(false);
        jp.setBackground(Color.orange);
        jp.setDoubleBuffered(false);
        jp.setEditable(false);
        jp.setPage("http://localhost:3030/lyomail/html/mailpic.htm");
        JLabel MyLink = new JLabel("http://www.hotmail.com");
        MyLink.addMouseListener(new MouseAdapter() {
          public void mouseClicked(MouseEvent e) {
            //Do whatever you want to do here
            URL u = null;
            try {
              u = new URL("http://www.hotmail.com");
            catch (MalformedURLException ex1) {
            try {
              URLConnection ur = (URLConnection) u.openConnection();
            catch (IOException ex) {
        jp.addHyperlinkListener(new HyperlinkListener(){
          public void  hyperlinkUpdate(final HyperlinkEvent ed){
            if (ed.getEventType()==HyperlinkEvent.EventType.ACTIVATED){
              SwingUtilities.invokeLater(new Runnable(){
                public void run(){
                  try{
                    Document doc=je.getDocument();
                    URL u=ed.getURL();
                    je.setPage(u);
                    jf.setText(u.toString());
                  }catch(Exception e){
                    System.out.println(e.toString());
        });The Runtime.getRuntime().exec can do this well.But how to get user's Explore 's path? Where he install IE?
    THks!

    Hi
    I change my code to :
    try{
                        Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler http://localhost:3030/lyomail");
                      }catch(IOException ed){
                         System.out.println("E:"+ed.toString());
                }But it can't work now. It report error when I run it
    java.net.ConnectException: Connection refused: connect

  • How to add a hyperlink in Keynote 6.2 ???

    Hi all,
    I am trying to do something that should be really simple: add a hyperlink to a text object in Keynote. I have not found any way of doing this. In some articles I read something about a hyperlink inspector, but my Keynote doesn't have such an inspector.
    So: how on earth do I accomplish this ???

    my Keynote doesn't have such an inspector.
    All versions of Keynote have an Inspector.
    You have decided not to say what version of Keynote you are using:
    In the latest version 6.5, the Inspector is not used for hyperlinks, instead select the text box, right click and choose add link    

  • How to add a hyperlink in the text caption?

    Hi,
    I am using Captivate 5. Anybody knows how to insert a hyperlink in a text caption? For example, the texts in the text caption are "See Adobe Captivate Forum for details." How to create a hyperlink for "Adobe Captivate Forum" which leads to the forum website?
    Thanks,
    Helen

    There is no tru hyperlink object in Captivate as such.
    You can use a button or a click box to provide users with an interactive object that when clicked will call a URL or document.
    However, this doesn't really give you a mouse rollover effect the way users are accustomed to seeing in normal web hyperlinks.
    If you really want to add a piece of on screen hyperlinked text (with rollover effect) to a Captivate project, the closest you'll come to it is this widget: http://www.infosemantics.com.au/hyperlink

  • How to Add the title name for Graph in Excel

    Dear Friends
                      I am using LabVIEW 8.0.I need how to add the title name for chart in Excel.
    Jayavel
    Solved!
    Go to Solution.

    Do you have the Report Generation Toolkit? If so, the Excel Easy Graph VI has an input for that.
    If you don't have the toolkit then you will need to use ActiveX. Please do a search on how to use ActiveX (there are examples that ship with LabVIEW) to control Excel. There are also lots of example in the Excel thread. NOTE: DO NOT POST QUESTIONS IN THAT THREAD. 
    Ultimately you will need to look up the information in MSDN. 

  • How to add a hyperlink to a jpg banner image

    Where the here is i need to add a hyperlink, the image is a jpg.
    Regards Peter

    Here is the HTML simply substitute your web page and image path:
    <a href="http://www.ama-assn.org/"><img border="0" img src="
    http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5087740-299746/257-106/bannerf an.png
    ">

  • How to add several item to HashMap?

    I want to add more than one item to HashMap When I click the "submit" and I want to made a Shopping cart.But I can't add several item to the HashMap.It will clear the content that I added to it When I click the second time.Anyone have good idea?
    Mycode is://///////////////////////////////////////////////////////////////////
    <select name="item" size="3" multiple>
    <option value="jsp">jsp</option>
    <option value="asp">asp</option>
    <option value="PHP">PHP</option>
    </select>
    </p>
    <input type="text" name="itemnumber">
    <p>
    <input type="submit" name="Submit" value="submit">
    </p>
    </form>
    <%
    String item="asp";
    item=request.getParameter("item");
    String itemnum="1";
    itemnum=request.getParameter("itemnumber");
    int itemn=(Integer.valueOf(itemnum)).intValue();
    out.println("Your select is:"+item);
    out.println("Item number is:"+itemnum);
    HashMap cart;
    cart=new HashMap();
    cart.put(item,new Integer(itemnum));
    out.println("Your cart is:"+cart.entrySet());
    %>
    <HR>
    <table border="1" bordercolor="red">
    <%
    String str="";
    out.println("your select:");
    str+="<tr><td>"+cart.entrySet()+"</td></tr>";
    out.println(str);
    %>
    Thank you!

    Thank you tolmank.It's works well.This is mycode after modify.But I find it also works well if I delete the last sentence "session.setAttribute("lyo",cart);".It must be writen?
    /////////////////////////mycode after modify//////////////////////////////////////
    String item="";
    String itemnum;
    String submit;
    int itemn;
    int oldcartnum;
    item=request.getParameter("item");
    itemnum=request.getParameter("itemnumber");
    submit=request.getParameter("Submit");
    try{
    itemn=(Integer.valueOf(itemnum)).intValue();
    }catch(NumberFormatException e){
    itemn=1;
    out.println("Your select is:"+item);
    out.println("Item number is:"+itemnum);
    HashMap cart;
    if(session.isNew()){
    cart=new HashMap();
    session.setAttribute("lyo",cart);
    }else if((session.getAttribute("lyo"))==null){
    cart=new HashMap();
    session.setAttribute("lyo",cart);
    }else{
    cart=(HashMap)session.getAttribute("lyo");
    if(submit.equals("Add")){
    try{
    oldcartnum=((Integer)(cart.get(item))).intValue();
    }catch(NullPointerException ex){
    oldcartnum=0;
         cart.put(item,new Integer(oldcartnum+itemn));
    //session.setAttribute("lyo",cart);
    out.println("Your cart is:"+cart.entrySet());
    %>
    <HR>
    <table border="1" bordercolor="red">
    <%
    String str="";
    out.println("your select:");
    str+="<tr><td>"+cart.entrySet()+"</td></tr>";
    out.println(str); }

  • How to add Diagonal Axis on 2D graph

    I try to plot data like this picture attached . is there anyone who know how to plot three axis on same graph  . Here, Axis is added diagonally. and point of Three peak value is marked as point.
    Help me. is it possible in labview? See JPG file .
    Attachments:
    SDC11183.JPG ‏2664 KB

    Hi Wenjun,
    Thank you for the idea.
    Is there any way to display label for only one measure out of two measures defined?
    Thanks & Regards,
    Pruthvi G N.

  • How to Add a Row by clicking in other different Region

    Hello Im trying to build a page that allows me to add items to a region by clicking in a report region in the same page.
    I created a Report Region with my information , It has a link and one image in the region 1.
    in other region(REgion 2) I have a tabular form from one table,
    the idea is , how to Add rows to the tabular form(REgion 2) clicking items from the reports region (Region 1)the item could be the image or the link.
    I tried with Addrow javaScrip, on my image as a link or even my link, and it worked ,but it works just adding an empty row and i need to add a row with information of the report region (Region 2) for example ID_product.
    so this is other question how to use Addrow javascrip , including data in the row automaticly .
    Well this is what i have been trying ,I don't know if this is the correct way to do it , or if the best way.
    Maybe there is another method , like ajax or something
    Please any advice will be appreciated.

    Hello Im trying to build a page that allows me to add items to a region by clicking in a report region in the same page.
    I created a Report Region with my information , It has a link and one image in the region 1.
    in other region(REgion 2) I have a tabular form from one table,
    the idea is , how to Add rows to the tabular form(REgion 2) clicking items from the reports region (Region 1)the item could be the image or the link.
    I tried with Addrow javaScrip, on my image as a link or even my link, and it worked ,but it works just adding an empty row and i need to add a row with information of the report region (Region 2) for example ID_product.
    so this is other question how to use Addrow javascrip , including data in the row automaticly .
    Well this is what i have been trying ,I don't know if this is the correct way to do it , or if the best way.
    Maybe there is another method , like ajax or something
    Please any advice will be appreciated.

  • How to add a Hyperlink to open popup in dynamic data grid?

    Hi,
    I am a new bie in FLEX, the question which I am asking might be very easy but i am not able to find solution to it. Please can some one help me.
    I am creating a data grid dynamically using action script code now I want to add a Hyper link to couple of columns in a row. How can I do it in FLex?
    Thanks.

    HI Prashant,
    Thanks for the reply.
    This is what I am currently doing right now:
    for 
    (var i:int=0; i<colNameList.length;i++) { 
    var headerText:String = colNameList[i] + ""; 
    callSellGridCol = cols[i];
    callSellGridCol.headerText = headerText;
    if(headerText != null && headerText == "RIC"){
    var myRenderer : ClassFactory = new ClassFactory(com.db.carving.synthetic.dma.view.UrlLinkRenderer);
    In My Renderer class :
    public 
    class UrlLinkRenderer extends LinkButton{
     public var clickFunction:Function; 
    public function UrlLinkRenderer() { 
    super();}
    // Override the set method for the data property. 
    override public function set data(value:Object):void{
    super.data = value; 
    if (value != null){
    label = value[DataGridListData(listData).dataField];
    else{
    label =
    super.invalidateDisplayList();}
    Now what i want is to add a new Event Listner to this object so that I can click it?
    In your suggestion you said:
                         var classFacory:ClassFactory = new ClassFactory(LinkRenderer); // here LinkRenderer is any mxml/ as file Having Link Button defined.
    Where should be the Link button defined??
    Thanks.

  • Crystal Report - How to add a baseline in the graph?

    Is there any function available to add a baseline in a line chart?
    Thank You!

    The standard answer would probably be to create an additional series of data for your graph and then plot that series as a line (CR allows combo bar/line/area charts).
    If all else fails, this is easily doable with our CRChart add-in, which has extensive support for user-defined lines: Up to 20 different lines, values set at runtime, show values and/or arbitrary labels on the lines.  But... this solution costs money
    -Dan
    disclaimer: I work for the company, threedgraphics.com, that makes this product.

  • Anyone know how to add a hyperlink to the HTML Gallery template?

    In previous versions, I created a modified HTML template which included a link back to a specific page. This placed the link on ALL of the Index pages. Now I must modify HUNDREDS of indices to accomplish the same thing. There has GOT to be a better way!

    With iOS 5 in the Autumn (from http://www.apple.com/ios/ios5/features.html#more) :
    Even add and delete mailbox folders on the fly.

  • How to add a hyperlink to a image button in theme area?

    Hi!
    We need to make an image button (on the theme area) to be
    clickable -- i.e., once you click that image button, it will
    call www.yahoo.com.
    Please advise how to do it.
    Points guaranteed. Thanks!

    Hello,
    Maybe this will help you?
    http://help.sap.com/saphelp_nw70/helpdata/en/9d/52f973810cb448842e35e13ad6c992/frameset.htm
    Gene Madikrama

  • I know how to add a hyperlink to text or image but am stumped with the CSS buttons provided by DW.

    Doing my first web page and was trying out the CSS buttons in the widgets.  Can't see where to set the property for the web link.

    <a href="#" class="classname">my button</a>

Maybe you are looking for