How to change mouse-over label for a mx:CandleStickChart?

I have an <mx:CandleStickChart .../> graph and want to change the default
labels on the mouse-over window.  For example by default, the mouse-over window displays:
  line1: some label
  line2: open: #1
  line3: close: #2
  line4: high:  #3
  line5: low: #4
I want to change the words "open", "close", "high", "low" to something else.  I optionally want to not show  the "close" line.
Do you have any suggestions on how to do this?  If you do, please provide a short example.
Thanks for taking the time to help.

Hi
First change the name from kPlusIconPNGIconRsrcID to kPlusIconPNGIconIRsrcID
so "I" will indicate that your icon is inactive
Create another resource id like:
#define kPlusIconPNGIconIRsrcID 15
#define kPlusIconPNGIconARsrcID 15
Define paths to the icons
resource PNGA(kPlusIconPNGIconIRsrcID) "../res/icons/PLUS_ICO_23_I.png" // Inactive icon
resource PNGR(kPlusIconPNGIconARsrcID) "../res/icons/PLUS_ICO_23_A.png" // Active icon
Regards
Bartek

Similar Messages

  • How to define mouse-over event for a icon

    Hello,
    I have defined a icon for a panel in my plugin. I want that the icon should be changed on mouse over event.
    The code for icon is given below.
    resource PanelList (kDNDListsPaletteResourceID) {
                        // 1st panel in the list
                        kDNDListsPaletteResourceID,                    // Resource ID for this panel (use SDK default rsrc ID)
                        kIBPluginPluginID,                                             // ID of plug-in that owns this panel
              #if CSVER >= 4
                        kIsResizable,
              #else
                        isResizable,
              #endif
                        kIBClientPluginDNDPanelWidgetActionID,          // Action ID to show/hide the panel
                        kIBClientPluginDNDPanelTitleKey,               // Shows up in the Window list.
                        "",                                                           // Alternate menu path of the form "Main:Foo" if you want your palette menu item in a second place
                        0.0,                                                                                     // Alternate Menu position Alternate Menu position for determining menu order
                        kPlusIconPNGIconRsrcID, kIBPluginPluginID,                                                            // Rsrc ID, Plugin ID for a PNG icon resource to use for this palette
                        c_Panel
    Where should I give the resourceID of the other icon?

    Hi
    First change the name from kPlusIconPNGIconRsrcID to kPlusIconPNGIconIRsrcID
    so "I" will indicate that your icon is inactive
    Create another resource id like:
    #define kPlusIconPNGIconIRsrcID 15
    #define kPlusIconPNGIconARsrcID 15
    Define paths to the icons
    resource PNGA(kPlusIconPNGIconIRsrcID) "../res/icons/PLUS_ICO_23_I.png" // Inactive icon
    resource PNGR(kPlusIconPNGIconARsrcID) "../res/icons/PLUS_ICO_23_A.png" // Active icon
    Regards
    Bartek

  • Mouse over solution for jdk1.0

    hi all,
    I am interested in making the equivalent of a mouse over solution for a java applet.
    Basically I'll have approximately 100 Rectangle objects representing images on the applet.
    When the person moves the mouse over these 100 rectangle objects, i'll use contains() method to determine if the mouse is over the object in question.
    If true, the image will be changed to represent the mouse over event .
    I thought for a msecond about looping through all the rectangle objects each time the mouse moves. but that seemed impractical since the mouse can move pretty quickly.
    It seemed to me the best option was to extend the Rectangle object and put an event listener on it . so that the Rectangle object can be triggered at the same time or individually as needed in response to the mousemove event .
    Does anyone have any thoughts about that ?
    does anyone know how I would possible implement something like that for java 1.0
    thanks
    stev

    it seems like I have to extend Component some how to get access to enableEvents method.
    Here is my class
    class ListeningRectangle extends Rectangle{
         public ListeningRectangle(int w, int x, int y, int z, Component c){
              super(w,x,y,z);
              c.enableEvents(AWTEvent.MOUSE_MOTION_EVENT_MASK);
         public void mouseMoved (MouseEvent me) {
         System.out.println("event has been received by rectangle");
    I am using this class in conjunction with a java applet (targetted to 1.0-1.1 ).
    I'm passing a reference of the applet in to create this ListeningRectangle like this
    new ListeningRectangle(a,b,c,d,this);
    my objective is to have about 100 different rectangle areas defined on the java applet.
    and when the person moves the moves the mouse of the applet rapidly, only the appropriate ListeningRectangle object would respond.
    any ideas on how to get this done ? ?
    The full code is below
    stephen
    ================================
    full source code below
    import java.applet.*;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    public class TestEventHandler extends Applet implements Runnable{
         ///variables
         public static Color bgColor = Color.blue.darker();
         private Thread thread;
         public Graphics offGfx;
         private Image offImg;
         private Image basicOffImg;
         public static int xlen;
         public static int ylen;
    public ListeningRectangle lr;
         ///methods
         public void init(){
         xlen = size().width;
         ylen = size().height;
         basicOffImg = createImage(xlen, ylen);
         offImg = basicOffImg;
         offGfx = offImg.getGraphics();
         setBackground(bgColor);
         offGfx.setColor(bgColor);
         offGfx.fillRect(0, 0, xlen, ylen);
         offGfx.setFont(new Font("Arial, Helvetica, Helv", 1, 15));
         FontMetrics fontmetrics = offGfx.getFontMetrics();
         offGfx.setColor(Color.white);
         String s = "pleaseWait";
         offGfx.drawString(s, xlen / 2 - fontmetrics.stringWidth(s) / 2, ylen / 2);
              lr = new ListeningRectangle(20,20,50,50,this);
              offGfx.fillRect(20,20,50,50);
         public void start(){
         if(thread == null)
              thread = new Thread(this);
              thread.start();
         public void run(){
              while(thread != null){
         try
              Thread.sleep(100L);
              catch(InterruptedException _ex) { }
         public void stop()
              if(thread!=null)
         thread = null;
         public void update(Graphics g){ paint(g);}
         public void paint(Graphics g){
         g.drawImage(offImg, 0, 0, null);
    public boolean mouseDrag(Event event, int i, int j)
    if(true)
    return false;//means ripple
    } else
    return true;//means do not ripple for jvm1.0
    public boolean mouseMove(Event event, int i, int j)
    if(true)
    return false;
    } else
    return false;
    class ListeningRectangle extends Rectangle{
         public ListeningRectangle(int w, int x, int y, int z, Applet c){
              super(w,x,y,z);
              c.enableEvents(AWTEvent.MOUSE_MOTION_EVENT_MASK);
         public void mouseMoved (MouseEvent me) {
         System.out.println("event has been received by rectangle");
    }//end of class

  • Mouse-Over Labels sometimes truncated (bug fix requested)

    Hello,
    In both Xcelsius 2008 and all subsequent fixes, the Mouse-Over labels are sometimes truncated.  It happens when I have a text category that could be translated as a number.  For example, if I name a category "1E" ("1E" is a type of problem that our department is tracking) then when I hover the mouse over the pie chart it will just say "1" as the category name.  "1A", "1F", etc work which would lead me to believe that it perceives "1E" to be the same as the exponential 1*10^1, which is why it is showing "1".  It happens even if the categories are specified as text.  I think this is a bug that should be addressed in the upcoming SP2.

    Hi,
       What version of Xcelsius and LiveOffice do you have in place?
       Also, did you actually raise an SAP ticket and recieve an confirmation from Support Engineer (via ADAPT) that a developer will look into it last year? Please note, nothing will get fix unless it is logged under the proper channel.
       From what I can see, this is the only relevant ADAPT similar to yours (KBArticle 1403226 - See below). Although this doesn't mention anything about Mouse-Over Labels. Hope it helps.
    Symptom
    Character 'e' which behind the numbers (like 1e) will be lost after refreshing Live Office objects
    Reproducing the Issue
    Create a table in SQL server, add some columns with nchar(10) type
    In this table, add some records with value like '1e', '1389e'
    Create a Universe based on this table
    Create a Webi report based on this Universe
    Create a Live Office object based on this Webi report
    Create an Xcelsius dashboard, and use Spreadsheet Table to show this Live Office object
    Choose 'refresh on load' or add a refresh button to refresh this connection
    You wiil find the character 'e' which behind the numbers (like 1e) will be lost
    (For detail information about the reproduce steps, please refer to attached doc with some screenshots)
    Cause
    The issue has been identified and logged under Problem Report ID ADAPT01296829 (Xcelsius side) and ADAPT01290988 (Live Office side)
    Resolution
    Apply fix packages at both Xcelsius and Live Office sides to fix this issue:
    Live Office FP2.3 or SP3
    XCelsius X5 LAFix2.0.3 or Xcelsius SP3
    Regards,
    Ken

  • How do I get the Label for a Front Panel Control to appear in the Block Diagram but not on the Front Panel?

    How do I get the Label for a Front Panel Control to appear in the Block Diagram but not on the Front Panel? On the Front Panel I am making a complex control that consists of a Slider and a Numerical Input box. Both Controls display the same information and either can be used for Input. When one changs, the other is made to display the same value.
     But I only want the Slider to display the Label on the Front Panel, to avoid confusion. On the Block Diagram however, I want both controls to display their Labels so that I know what they are. How do I display the Label for a Control on the Block diagram, but not display its Label on the Front Panel?

    No.  The Label Visible property is separate for the front panel control label and the block diagram terminal label.
    How did you start out with the block diagram's label not being visible?  Whenever I drop a control or indicator, the label is always visible on both the FP and BD by default.  Maybe there is a LabVIEW option that causes new controls/indicators not to have their labels visible by default, but I have yet to find it.  I don't think an item should ever be dropped without the label visible, good LabVIEW coding practice demands that the labels for control terminals on the block diagram be visible so that you know what control or indicator a wire is going to.
    That being said, I have seen a lot of VI's posted where the label for the terminal on the BD is not shown (against good programming practice.)  I've gone to the BD and right clicked to show the label.  Sometimes, the people have an empty label (which will turn off the visibility for both the FP and BD) and I'm forced to add some text of my own into the label so I can figure out what their code is doing.  When I add some text to the label, at that time, I find both the BD and FP labels become visible.
    Are you dealing with controls that have empty labels to start?
    Good programming practices:
    1.  Always have a name for all of your controls, never use and empty label by deleting the text in the label.
    2.  Make the labels unique.  For example, don't have two controls both called Stop.  How do you know quickly know which terminal relates to which control?
    3.  Always show the labels on the block diagram, so you know the function of a control's terminal.  If you want to hide the label on the FP, that's okay.
    4.  If you want a different label to appear on the FP than whatever you actually called the control, then use the caption.  You can hide the label and show the caption.  This is useful if you need to programmatically change what the "label" is on the front panel such if you are making an application that needs to change its user interface such as for a foreign language.

  • How to change "No Password required" for Guest to "Yes"account under Somarsoft Dumpsec

    Check Content:
    Verify all accounts require passwords.
    Run the DUMPSEC utility.
    Select "Dump Users as Table" from the "Report" menu.
    Select the following fields, and click "Add" for each entry:
    UserName
    SID
    PswdRequired
    AcctDisabled
    Groups
    If any accounts have "No" in the "PswdRequired" column, this is a finding.
    Some built-in or application-generated accounts (e.g., Guest, IWAM_, IUSR, etc.) may not have this flag set, even though there are passwords present.  It can be set by entering the following on a command line: "Net user <account_name> /passwordreq:yes".

    Hi Malik,
    How to change "No Password required" for Guest to "Yes"account under Somarsoft Dumpsec
    Please contact SystemTools Technical support to get more efficient support regarding this matter:
    http://www.systemtools.com/support.htm
    http://www.systemtools.com/toolboard/
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to change the sysadmin password for maintenance wizard if you have forg

    How to change the sysadmin password for maintenance wizard if you have forgotten the password and can't log in.

    Log into SQL*Plus as the $EOFUSER and do:
    update eof_user set password = 'passwd_you_want' where user_id = 0;
    commit;
    -Vikki
    Product and Development Manager for Maintenance Wizard

  • Mouse over event for every word inside a text?

    I want to do a separate mouse over event for every word inside a text.
    or at least get the string below the mouse cursor.
    any hint?
    henry

    There are no events for it but you can use TextField.getCharIndexAtPoint() to determine the character where the mouse is over, and from there you can work out the word where the mouse is over.

  • How to change the Display Pattern for Decimal Fields dynamically

    hi all,
    Can any one help me how to change the display pattern for decimal fields dynamically???
    Currently I am using z,zzz,zzz,zz9.999 Display pattern for Quantity Field. If the value is blank it is displaying as 0.000 on the Screen. But I don't want this to be printed.
    Please help me how to solve this ASAP.
    Thanks,
    Prabhu

    Hi,
    Alternatively you can handle it in the context.
    In the context area, click on the quantity. In the bottom, click on the conditions tab, and put a condition
    <quan field> NE initial.
    So the field will not be printed if there is no value.
    Regards,
    Vidya Chowdhary A.

  • How to change the package name for a msg class

    Can anybody tell me how to change the package name for a message class.
    and how will it effect in the rerport?
    thanks in advance
    kp

    >>and how will it effect in the report?
    You wouldn't see any direct effect on the Report.. But if you transport the report to QA & leave the Message class in Dev, it might result in syntax issues & you will not be able to execute the report. Just ensure that both of them get transported to QA & you will be fine.
    ~Suresh

  • How do i create mailing labels for an avery template using pages

    how do i create mailing labels for an avery template using pages.

    mcc,
    The first topic in the "More LIke This" box to the right of your question is a rather comprehensive address label printing discussion. Does it answer your question?
    Jerry

  • How To Change Root Folder Reference for href - anythingslider links?

    How To Change Root Folder reference for href - anythingslider links?
    My root folder in Web Apps>Carousel in admin is set at /carousel/ (http://bestinscotland04.businesscatalyst.com/carousel/slide-2 - as an example) but I want it to link to a specific page at the root level (specifically /scottish-menswear/mens-highland-kilt-outfit).
    I can't find the controls, css, or html file to enable my picture to link to this product page.
    I'm sorry for the amateur question - I've never had formal training and it's always a reverse-engineering situation with me.
    Thank you.

    One way to address this is to use the Virtual Web Host feature.
    I've uploaded a simple application note to help guide you through the steps.
    An alternative would be to create an html at /Web/ which forwards to /Web/Joomla.  Not a great solution, I know.
    I'm sure there is a way to change the setting in a linux configuration file, but I don't know which file that is in.  Maybe some other linux savy community members could help out with that?

  • Changing Quiz "Default Labels" for Incorrect Message for Captivate 5.5

    Hi Experts,
    I am trying to change the "default labels" for incorrect message for my existing Quiz slides. However, it does not get reflected. Is there a way I can change, e.g., the default label for incorrect message from "...press Y to continue" to "xyz" for my existing quiz slide and get that reflected.
    Regards,
    Roshni

    You can change these default labels at Quiz settings > Default Labels > Correct Message and Incorrect Message fields.
    However, you need to be aware that changing these label defaults will have no effect whatsoever on the Success and Failure captions that are already present in your project.  Only new captions added AFTER the change will display the new text.

  • How to change RSAPublicKeySpec to Key for encrypt?

    I have RSAPublicKeySpec and I want to encrypt message with this key.
    How to change RSAPublicKeySpec to Key for encrypt message?

    I try to do this
    try {
    kf = KeyFactory.getInstance("RSA");
    pk = kf.generatePublic(pubCard);
    catch (NoSuchAlgorithmException ex4) { System.out.println("1");
    catch (InvalidKeySpecException ex4) { System.out.println("2");
    try {
    Cipher cipher = Cipher.getInstance("RSA");
    try {
    cipher.init(Cipher.ENCRYPT_MODE, pk);
    catch (InvalidKeyException ex2) { System.out.println("a");
    try {
    ticket = cipher.doFinal(mes.getBytes());
    catch (IllegalStateException ex3) {System.out.println("b");
    catch (IllegalBlockSizeException ex3) {System.out.println("c");
    catch (BadPaddingException ex3) {System.out.println("e");
    catch (NoSuchAlgorithmException ex1) {System.out.println("f");
    catch (NoSuchPaddingException ex1) {System.out.println("g");
    It cougth exception that "NoSuchAlgorithmException"
    What wrong with line
    Cipher cipher = Cipher.getInstance("RSA");
    please tell me

  • How to change the menu text for menu exit in Version 3.1i

    Hi,
    I am working on an enhancment in CJ02 transaction in 3.1i version. I have implimented menu exit for it , but I am unable to change the menu text for it.Please let me know how to change the menu text for that menu.
    Thanks
    Suman

    Hi Shree,
    Thanks for the response. Please find the Enhancement name here "CNEX0006".
    Thanks
    Suman

Maybe you are looking for

  • Display tree in applet

    i have a program to convert Xml to tree structure. But i am not able to call it in JSP. So i want to convert to applet. how to convert it. package TreeGen; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; imp

  • Adobe Reader used with Bidmail program

    Hello- I am currently having a problem using the "hand tool" with a program called "Bidmail." Bidmail is a social networking site for contractors to share pdf. files online. My problem is, when I log into bidmail.com, I open up a pdf. file to view an

  • IPhoto 6.0.6 keeps crashing

    My iPhoto keeps crashing. I can't seem to figure out why. I've read a post about reinstalling Garage Band, but I've never even used that program. I open the program, I can see my Library, and then crash! I've option-apple opened the program and rebui

  • Value date BSEG-VALUT

    Hello, Please help me with some information regarding the field "Value date" (is used in transaction F-29 for example). The help information say that is used in bank accounts and bank sub-accounts but how is used and for what? Thank you

  • Every time I try to make a pre-set in export the top export to drop down button changes from Hard Drive to email. What anm I missing.

    As above title sorry.