Tool tips on chart axis

Is there a way to create a dynamic tool tip for the labels on
the chart axis. For example I have a bar chart that shows the
quantity ordered in 5 categories. I want to be able to add a tool
tip to the category label on the vertical axis to help explain what
the category is. I need this tool tip to change based on the
category that is rolled over. I'm assuming I should be able to do
something with the ToolTipCreate action on an axis renderer but I
can't figure out how to find out which label is being moused over.
Any help would be greatly appreciated. Thanks in advance.

I'm not sure if you're refering to components you can place in containers, but if you are, there's a ToolTipText option in the component inspector for every component you can select. If you want to change the tooltips manually for specific components, you can use the method (Component).setToolTipText(String text). Hope that helps...
hello again,
just one more question :) i was wondering if anyone
knows how to implement tool tips with controls in
JavaForte. i looked through the properties window,
but didnt see any .ToolTipText property.... i know
its possible, and probably just one line of code,
anyone know it? thanks a lot in advance for any help!
talk to ya later,
Steven M. Berardi
[email protected]

Similar Messages

  • Pai Chart layout and Tool Tip not refreshing

    Hi All
    We have an application where we displaying data on Pai Chart based on Data-Grid row clicked.
    Its an Polling kind of application, where multiple option are there.
    When a data grid row clicked, in the Pai chart we displaying polling votes in percentage.
    Some question has 2 option and some 4 and out of those few are having votes.
    Ex: Question 1 has 2 option ( A, B ) and both got some votes.
          Question 2 has 3 options ( X,Y,Z ) and only " X " got all the votes.
    So when we clicked on data grid row for Q1 the Pai chart shows all the options ( 2 ) in block dividing manner.
    It has also outward tool tip to show the count and percentage.
    And when we clicked on Q2 which has 3 options but got votes for only 1, the Pai chart shows perfectly with 100% and one circle without divide, but the tool tip of Q1 not cleared. It shows tool tips of Q1 as well as Q2.
    And when adjust the Pai Chart Layout, then only it clears unwanted tool tips, but not automatically.
    For better understanding i have attached the screen shot of the problem. please look into that once.
    So any one who faced similar kind of problem or know the solution then please help me.
    Thanks
    Bijaya Kumar

    Hi Mitalee,
    Would you please check the PAM at https://websmp108.sap-ag.de/~sapidb/012002523100018972812014E
    On page 11 it says 64 bit IE11 is not supported; is your IE11 32 bit or 64 bit?

  • Tool Tip with column Height in CL_GUI_CHART_ENGINE

    Dear All,
    I am generating Columns chart using the class CL_GUI_CHART_ENGINE. I would like to display the column height of every column as tooltip for that column. How can i achieve it ??
    The following is the transformation that i am using -
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
    <tt:root name="CATEGORIES"/>
    <tt:root name="SERIES"/>
    <tt:template>
    <ChartData>
    <Categories>
      <tt:loop ref="CATEGORIES">
       <Category>
        <tt:value/>
       </Category>
      </tt:loop>
    </Categories>
      <tt:loop ref="SERIES">
        <Series>
           <tt:attribute name="label"><tt:value ref ="LABEL"/></tt:attribute>
           <tt:attribute name="customizing"><tt:value ref ="ID"/></tt:attribute>
           <tt:loop ref="VALUES">
         <Point extension="alt='Capacity'"><Value type="y">
           <tt:value/>
         </Value></Point>
           </tt:loop>
         </Series>
      </tt:loop>
    </ChartData>
    </tt:template>
    </tt:transform>
    Now for all the Columns, the tool tip is same (Capacity). I want to display the column height also along with it. Thank you.
    Regards,
    kartik

    Hi,
    Have you consider using SVG ?
    http://en.wikipedia.org/wiki/Scalable_Vector_Graphics
    Regards.
    From here:
    http://bost.ocks.org/mike/bar/2/
    Code:
    <!DOCTYPE html>
    <style>
    .chart rect {
      fill: steelblue;
    .chart text {
      fill: white;
      font: 10px sans-serif;
      text-anchor: end;
    </style>
    <svg class="chart" width="420" height="120">
      <g transform="translate(0,0)">
        <rect width="40" height="19"></rect>
        <text x="37" y="9.5" dy=".35em">4</text>
      </g>
      <g transform="translate(0,20)">
        <rect width="80" height="19"></rect>
        <text x="77" y="9.5" dy=".35em">8</text>
      </g>
      <g transform="translate(0,40)">
        <rect width="150" height="19"></rect>
        <text x="147" y="9.5" dy=".35em">15</text>
      </g>
      <g transform="translate(0,60)">
        <rect width="160" height="19"></rect>
        <text x="157" y="9.5" dy=".35em">16</text>
      </g>
      <g transform="translate(0,80)">
        <rect width="230" height="19"></rect>
        <text x="227" y="9.5" dy=".35em">23</text>
      </g>
      <g transform="translate(0,100)">
        <rect width="420" height="19"></rect>
        <text x="417" y="9.5" dy=".35em">42</text>
      </g>
    </svg>
    Result:

  • Tool Tip Font Size

    Hello,
    Is it possible to change the font size of a tool tip?
    On Macintosh I have been using terminal to do this from the system, but it does not work. It does do some very odd things with labels in the open dialog.
    defaults write com.adobe.InDesign NSToolTipsFontSize -int 18
    I did the same on a system wide basis and the only application it worked on was Skype.
    It would be nice to 'patch' the tool tips in InDesign.
    Best

    Hi Vishal,
    The following example might help you. I tested/created it for:
    Application Theme: Platinum
    Chart Type: Column
    but it might/should work for other themes and charts too.
    Tooltip before:
    Tooltip after:
    The generated html source code of the tooltip by sap design studio looks like this:
    I used the following css in my custom css file:
    .myChart1 .v-m-tooltip .v-background {background: black !important;}
    .myChart1 .v-m-tooltip table.v-tooltip-dimension-measure tr td:nth-child(1) {color: red !important;}
    .myChart1 .v-m-tooltip table.v-tooltip-dimension-measure tr td:nth-child(2) {color: green !important;}
    .myChart1 .v-m-tooltip table.v-tooltip-dimension-measure:before {content: "Current data is:"; color: orange;}
    As you can see I created a custom css class "myChart1" and then applied it to my chart under "Display > CSS Class".
    Regards
    David

  • Time scale tool tip

    Hello there!
    How can I create a function to write a tool tip that gives details of the date that the mouse is pointing in the time scale bars??
    All and any help would be appreciated.

    I'm using a ilog elixir gantt chart component and I would like to create a tool tip that would indicate what time is the mouse pointing to.
    This component has two bars the one in the upper side is more generic. Both of the bars in this component indicate time but the one that is on top is more aggregated.
    The mx: tags that I'm using are the flex and the ilog ones:
         xmlns:mx="http://www.adobe.com/2006/mxml"
         xmlns:ilog="http://www.ilog.com/2007/ilog/flex"
    Thank you

  • Enkitec Sparkline Tool Tips

    I want to show the X axis value along with the Y axis value in the tool tip of my Sparklines. Something like this "125 on 6/13/2013".  Can this be done?
    I did find something close on this page at the very bottom: http://omnipotent.net/jquery.sparkline/#s-docs  under the Mouse-over events subtitle.  Even if I could do this in Apex it would work out OK.
    Any help would be great!

    Hi there..
    The newest version of SparkLines allows you to do quite a lot with tooltips including formatting them yourself. If you have a look at the documentation and navigate to the section about Formatting Tooltips You should see what you need there.
    However, I'm not entirely sure which version of the jQuery Sparklines we included in the Enkitec plugin, so you may have to check that. If it's NOT the most recent version, you should be able to just replace the version in the plugin with the most recent and all should work ok.
    Hope This Helps.
    Doug Gault
    APEX Practice Director, Enkitec

  • Tool Tip Text for field values in ALV report

    Hi,
    How to get the tool tip text for the field values in ALV report.
    Thanks & Regards,
    Pallavi.

    Hi,
    In fieldcatalog specify the TOOLTIP.
    <b>
    LVC_S_FCAT-TOOLTIP
    </b>
    In this speicfyteh tooltip you want.
    Then append this to the fieldcatalog.
    Hope this solves ur problem.

  • Enable tool tip in Exported PDF document from a CRE Report

    Hi All,
    We are on BObj 4.0 and using CRE for our reports. We have enabled Tool tip text on mouse over for certain labels which works great in browser. When we export to PDF, we dont see the Tool tip text. Is there a way we can configure this in CRE so that the exported PDF also shows the Tool tip text?
    Regards,
    Sundar

    I checked online and found this Note - 1567798 - Crystal Reports does not export Tool Tips when exported to Pdf Format. Does this apply to CRE also or just CR 2008?
    Regards,
    Sundar

  • JSlider + Display value in a text tool tip box

    Hello,
    I am new to Java. I want to display the value in a text tool tip box of the JSlider as the user moves the knob . Is there any way to achieve this.
    I tried setting up the value of text tool tip in the stateChanged method. But that didn't helped
    Ritesh

    Finally Got it working. Below I am attaching the code for reference
    Thanks for your code. It came very handy
    The only problem is that toolTextTip is appearing on one side rather than below the cursor.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class EventTest
    public static void main(String[] args)
    JFrame f = new JFrame();
    System.out.println("starting application");
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.getContentPane().add(new setSlider(),"North");
    JSlider slide = new JSlider();
    slide.setToolTipText("Hello");
    f.getContentPane().add(slide,"South");
    f.setSize(400,400);
    f.setLocation(200,200);
    f.setVisible(true);
    class setSlider extends JSlider implements ChangeListener, MouseMotionListener{
    public setSlider(){
    setToolTipText("hello " + new Integer(getValue()).toString());
    this.setMaximum(10);
    this.setMinimum(0);
    this.setValue(2);
    this.setMajorTickSpacing(2);
    this.setMinorTickSpacing(1);
    this.setPaintTicks(true);
    this.setPaintLabels(false);
    this.addMouseMotionListener(this);
    this.addChangeListener(this);
    public void stateChanged(ChangeEvent e) {
    setToolTipText(new Integer(getValue()).toString());
    System.out.println(this.getToolTipText());
    KeyStroke controlF1 = KeyStroke.getKeyStroke("control F1");
    ActionListener toolTipAction = getActionForKeyStroke( controlF1 );     
    if (toolTipAction != null)     {          
    ActionEvent postTip = new ActionEvent(this, ActionEvent.ACTION_PERFORMED, "");
    toolTipAction.actionPerformed( postTip );
    public void mouseDragged(MouseEvent e){
    System.out.println("here");
    setToolTipText(new Integer(getValue()).toString());
    System.out.println(this.getToolTipText());
    KeyStroke controlF1 = KeyStroke.getKeyStroke("control F1");
    ActionListener toolTipAction = getActionForKeyStroke( controlF1 );     
    if (toolTipAction != null)     {          
    ActionEvent postTip = new ActionEvent(this, ActionEvent.ACTION_PERFORMED, "");
    toolTipAction.actionPerformed( postTip );
    public void mouseMoved(MouseEvent e){

  • How to put Tool Tip in JSP page

    Hello.
    How can i put Tool Tip in JSP page and also html page.

    title="value"
    put this in all the tags whereever it is required

  • How can I turn off the yellow pop-up tool tips?

    Howdy,
    I have searched high and low in the preferences and found nothing that does the trick. How can I turn off the yellow pop-up tool tips?
    See attached screen shot. They are incredibly annoying. It's probably obvious, but I cannot find it anywhere on internets or this forum.
    Thanks!

    Thanks Nancy. Unfortunately that doesn't do it. I turned those off awhile back. Nor can I find anything under VIEW that seems to make a difference.  Just FYI: I'm on a Mac OS w/Dreamweaver CS6 - but this has happened on previous versions of DW. Thanks again.

  • How to implement tool-tip for the list items for the Choice column in SharePoint 2013

    I had created a simple list with a "Choice" column, i have three entries in my drop-down, 
    First Entry
    Second Entry
    Third Entry.
    If i select any entries in drop-down and hour-over (Second Entry), a
    tool-tip need need to show. 
    Is it possible? If yes how to implement any help will be appreciated.

    Hi,
    We can use JavaScript to achieve it.
    The following code for your reference:
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/wz_tooltip.js"></script>
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript">
    $(function () {
    $("select[title='Choice']").change(function(){
    Tip($(this).val());
    $("select[title='Choice']").mouseout(function(){
    UnTip();
    </script>
    Download wz_tooltip.js:
    http://www.walterzorn.de/en/tooltip/tooltip_e.htm#download
    Best Regards
    Dennis Guo
    TechNet Community Support

  • I would like to see the actual email address in a Tool Tip when I mouse over the From address

    I use Thunderbird to access my IMAP email account with a non-enormous ISP. Thunderbird is a great email client.
    One thing I really miss when using Thunderbird vs. going to my email using a browser: in the browser, when I mouse over the From email address, a tool tip pops up showing me the actual email address, not the alias (or whatever it's called). Please see the attached image for an example of the mouse over tool tip. Is there a way to do this in Thunderbird?

    more misinformation and urban myths here than facts.
    1. Thunderbird blocks remote images by default.
    2. Thunderbird does not allow scripts in mail. If they are there they do not run.
    3. The only link SPAMMERS or anybody in marketing gets to you is when you download their remote images, run scripts in the mail or click on links to go to their web sites.
    4. When I or a spammer send a mail to say [email protected] Most mail servers will refuse delivery unless the address exists on their server.
    5. True spammers do not care if a large percentage of the mail they send is to dead email addresses and they make little or no effort to validate active addresses. Corporations like Walmart, Woolworths here in Australia, Ebay and Paypal are very interested.
    With that knowledge, you are now aware that opening the mail tells a spammer nothing even in the remote chance they are interested.
    Oh and the source of the urban myth is Microsoft whose mail clients allow scripting, remote images and uses the file extension of the file not it's mime type to determine how to open it.
    That is the difference between a mail client where the developers think security first and one where the developers give the user what they want and try to tack on security after the fact.

  • How do I set a Unicode tool tip on an AVToolButton?

    We're finally porting our Acrobat (8/9/X/XI) plug-in to be fully Unicode-compliant, so that we can show our UI in Japanese and other languages which require double-byte characters.
    I've figured out how to rework most of our 8-bit calls, such as replacing AVMenuItemNew() with AVMenuItemNewWithASText(), AVAlert() with AVAlertWithParams(), etc.
    But I'm stuck on the tooltips for our toolbar buttons.  We had been calling AVToolButtonSetHelpText(), which takes an 8-bit char string.  But there's no ASText version of this function, as far as I can tell.
    I've tried calling both AVToolButtonSetComputeTooltipProc() and AVToolButtonSetNotifyTooltipProc(), but my callback functions never get called.  Similar callbacks registered with AVToolButtonSetComputeMarkedProc(), AVToolButtonSetComputeEnabledProc(), and AVToolButtonSetExecuteProc() work just fine, and I'm calling the AVToolButtonSet***TooltipProc functions the same way, but the tooltip callbacks never fire (at least not under Acrobat XI on Windows, which is my development environment).
    I'm not actually sure whether AVToolButtonSetComputeTooltipProc() or AVToolButtonSetNotifyTooltipProc() is what I need to do, or exactly what the difference between the two callbacks is.  Also, the documentation for AVNotifyTooltipProc says, "It returns text that is displayed in the tooltip," but AVNotifyTooltipProc is a declaration for a function returning void, so I'm not sure what the doc means by "It returns text."  The AVComputeTooltipProc callback seems more sensible, as it returns ASText, but like I said, I can't get either one to fire.  Although the doc for AVComputeTooltipProc is a bit confusing as well, as it says it's "used to get the mega-tooltip help text for a toolbar button."  What exactly does it mean by, "mega-tooltip?"  Is that a clue that a "mega" tooltip is somehow fundamentally different than a regular (non-"mega") tooltip?
    So, what exactly do I need to to in order to set Unicode tool tips on my toolbar buttons?

    Agreed, Unicode is the way to go.
    I would still appreciate it if someone could answer these specific questions:
    Is there any supported way to set Unicode tool tips in Acrobat 9?
    Why are my callbacks registered with AVToolButtonSetComputeTooltipProc() and AVToolButtonSetNotifyTooltipProc() never being called?  Do these functions simply not work?  Or am I doing something wrong?
    Thanks!

  • My custom Tool tip on spark data Grid don't work ?

    I want to add panel component as my tooltip for each row in my Spark DataGrid. So when mouse rollover the user can see the information for each the ship. I want a panel as my tooltip for dataGrid cause I want to organize my data neatly and also place a image in the panel.
    I came across :http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf60d65-7ff6.html  where they show an example of "Implementing the IToolTip interface" using the panel.I tried manipulating the codes but it didt work for my spark dataGrid.
    So my question :
    Can some one pls show me how I can use the Panel as my tool tip for each row in spark data grid.
    I have been struggling for quite some time.If possible pls Give me an example.
    This is my codes below (I tried to follow the example from :http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf60d65-7ff6.html#WS2d b454920e96a9e51e63e3d11c0bf60d65-7ff4 -"Implementing the IToolTip interface")
    My MXML Application codes :
        <fx:Script>
        <![CDATA[
            import DesignItemRenderer.PanelToolTip;
            import mx.events.ToolTipEvent;
            import mx.collections.ArrayCollection;         
            import mx.controls.Alert;  
            import spark.events.GridEvent; 
            [Bindable]
            private var myArrivalShips:ArrayCollection = new ArrayCollection([
                {arrivalShipsName:"Ship A", ETD:"12 March"},
                {arrivalShipsName:"Ship B", ETD:"25 March"}            
            private function createCustomTip(event:ToolTipEvent):void {
                var ptt:PanelToolTip = new PanelToolTip();
                ptt.title = "my Ship Info";
                ptt.bodyText = "my data for the ship";
                event.toolTip = ptt;
        ]]>
    </fx:Script>
    <s:BorderContainer x="267" y="11" width="331" height="586">
        <s:DataGrid id="arrivalTable" x="10" y="326" width="302" height="205" requestedRowCount="4" dataProvider="{myArrivalShips}" toolTipCreate="createCustomTip(event)">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="arrivalShipsName" headerText="Arrival Ships" ></s:GridColumn>
                    <s:GridColumn dataField="ETD" headerText="ETD"></s:GridColumn>             
                </s:ArrayList>
            </s:columns>           
        </s:DataGrid>
        <s:BorderContainer x="10" y="19" width="302" height="285">
        </s:BorderContainer>
    </s:BorderContainer>
    My Custom Panel codes :
    <s:Panel xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300"
         implements="mx.core.IToolTip" >
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
        <![CDATA[
            [Bindable]
            public var bodyText:String = "";
            //  Implement required methods of the IToolTip interface; these
            //  methods are not used in this example, though.
            public var _text:String;
            public function get text():String {
                return _text;
            public function set text(value:String):void {
        ]]>
    </fx:Script>
    <s:RichText text="{bodyText}" percentWidth="100"/>
    </s:Panel>

    Ok I was getting ready to post the renderer code and then found the problem. I had copied this code from another renderer which had contentBackgroundAlpha=0 in the MXAdvancedDataGridItemRenderer tag. When I removed it, the style of the TextArea worked as intended. Your comment helped me to take a closer look at the renderer code, so thank you.

Maybe you are looking for

  • File Size of .mov too large

    I captured 1 hour of footage using a Sony HDV AIU and Dony Mini DV Premium (DVM 60) tapes. When importing into FCP using "ProRes 422 (LT)" as the capture preset, the .mov file that is produced in capture scratch is over 30 GB. My question is: A. Is t

  • Server caught unhandled exception from servlet [jsp]

    pls click on url http://210.239.141.154/evweb/taikaikakunin.jsp email : [email protected] password : 1111 click the button of continue below to textboxes in yellow color. error comes http://210.239.141.154/evweb/taikaikakunin.jsp. is anybody can tell

  • Why did my built-in camera randomly stop working?

    I have HP TouchSmart300 PC. Any assistance or point of direction to fix this would be helpful.

  • MacBook throttle down from Bad Battery

    Hi. I have a 2006 MacBook 2.0Ghz Core Duo. Is a nearly dead battery the same as running the computer without a battery at all on AC in regards to CPU throttle down? From what I have read, if only the AC is used and the battery is removed, the CPU wil

  • Free data for iPhone 6

    how long does it take to get the free data.  It has been a week. I called and have request number