Can I show tooltips of the coordinates where ever i point my mouse on the chart's line?

I had build a Linechart and the problem is I want to show tooltip that can show its coordinate when ever i hover my mouse on the line. Is there a way to do that?

You can use the DataTipFunction of Charts ,The following code shows how to get x and y coordinates.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
    <mx:Script>
        <![CDATA[
            import mx.charts.HitData;
            import mx.collections.ArrayCollection;
            [Bindable]
            private var arr:ArrayCollection=new ArrayCollection();
            private function init():void
                for(var temp:int=0;temp<30;temp++)
                    arr.addItem({Y:Math.sin(temp)});
            private function dtf(hd:HitData):String
                return "X->"+hd.x+" Y->"+hd.y;
        ]]>
    </mx:Script>
    <mx:LineChart id="lineChart" dataProvider="{arr}" dataTipFunction="dtf" showDataTips="true">
        <mx:series>
            <mx:LineSeries yField="Y" />
        </mx:series>
    </mx:LineChart>
</mx:Application>

Similar Messages

  • I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. Can someone resolve this problem.

    I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. But in my purchased item library it indicates that you update iPhoto. I am not sure which account the aps store asking. Can someone resolve this problem.

    Contact App Store support. They're the folks who can help with Account issues.
    Regards
    TD

  • HT204023 can i use my i phone 4 as a internet modem to connect internet through the computer. where i got mobile internet plan through the operator.

    can i use my i phone 4 as a internet modem to connect internet through the computer. where i got mobile internet plan through the operator. and i can surfe the net through the phone.

    You can share your "cellular data" with the computer and other devices through "personal hotspot". You may use USB cable, Bluetooth or Wifi for sharing.
    Reverse tethering (sharing internet connection of your computer with iPhone) is not supported.
    Call your carrier and activate the cellular data/3G plan on your package. Note that "personal hotspot/internet tethering" is operator dependent feature. Confirm with your carrier or go through this article to see if your carrier is listed and offers this service.
    http://support.apple.com/kb/HT1937
    ** The new iOS version is 5.1.1.

  • Identify the Cubes where dimension table size exactly 100% of the fact tabl

    Hello,
    We want to Identify the Cubes where dimension table size exactly 100%  of the fact table.
    Is there any table or standard query which can give me this data?
    Regards,
    Shital

    use report (se38) SAP_INFOCUBE_DESIGNS
    M.

  • The last few times I've used headphones in my iPad, the audio has been all messed up to the extent where it's better to just use the internal speakers and not the headphones. I've tried multiple pairs of headphones to no avail. Help?

    The last few times I've used headphones in my iPad, the audio has been all messed up to the extent where it's better to just use the internal speakers and not the headphones. I've tried multiple pairs of headphones to no avail.
    The iPad was bought in mid-June, but I did not get extended Apple-Care warranty on it. Any idea of what's happenening?

    Multiple means how many? If only 2 or 3, they could all be faulty. Try the headphones in some other device, to make sure they are OK. Or there could be something wrong with the headphone port.
    Your iPad is still covered by the 1-year warranty so you should make a Genius appointment and have it looked at.
    Another thing to try is to plug in the headphone jack a few times in succession to see if it frees up something inside the port.

  • I was reviewing my list of songs in my library "on my I-Pod".  I noticed that a few of the songs on the list have an Exclamation Point in front of the track, and the track won't play. How do I get rid of the Exclamation Point so that the track will play.

    I was reviewing my list of songs in my library "on my I-Pod". I noticed that a few of those tracks on the list have an Exclamation Point in front of the track and will not play. How do I get rid of the Exclamation Point so that the track will play.

    Hello enrique a.
    Instead of trying to re-invent the wheel on this one, take a look at an article such as this one to help you take care of these exclamations.  Basically, it means iTunes is unable to locate the file on your computer anymore.
    http://ipod.about.com/od/itunesproblems/qt/Fixing-The-Itunes-Exclamation-Point.h tm
    B-rock

  • How can the coordinates of an intersection point of a cross

    there is a cross on a chart and i need the coordinates of the intersection point as a reference for further measurements

    The simplest way is pattern matching. Train the routine with the cross, then search for it. It should always be within about 1 pixel of the intersection. You can use sub-pixel accuracy to improve the results sometimes.
    To improve the pattern matching results, you can use edge or peak finding routines to find the horizontal and vertical lines that make up the cross. You can determine the center from these lines.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Can you preview an event in Ical, using Lion, by moving your mouse over the event?

    I have been trying to fougure out to problems in Ical, using Lion.  There does not seem to be anyway to preview an event accept by double clicing the event.  I also do not understand why there is not a drop down menu to choose the month of a new event or when you change an event.  I hope there is a way to change to a drop menu for the month, it is such a waste time to have to type the date in every time.  Any suggestions?

    The only problem is, that I can't move my mouse to the location I want. I heard you could use the Robot class for this, but it didn't work out as I wanted -I guess I screwed the code up-. So I'd like to know how I'm able to move my mouse, left click and right click, all at custom locations, given using JOptionPane. Could someone please write an easy example of all those things?Well, Robot is meant to generate mouse moves, mouse clicks, and key types, but consider this:
    - if you need this to implement a feature of an application, I find this suspicious (except if you are developing a tutorial feature such as "Help/Show me how to...").
    - if you need this to test an application, you'd better use a higher-level API, such as jfcUnit or Fest-Swing (tons of other exist), that enables you to simulate actions (and check results!) in higher-level terms, such as "click on this button" and "check this label is green" instead of "click at that position x,y", and "peek the pixel color").
    Good luck,
    J.

  • TS2198 ical (the calendar program) that came with this apple mac pc suddenly stopped working, then disappeared from the computer, from the desktop where I have been using it for the past two years, without trouble, then from the list of applications. . .

    ical (the calendar program) that came with this apple mac pc suddenly stopped working. When I pulled the icon from the desktop, it then disappeared from the computer.I have been using it from the desktop for the past two years, without trouble. It has uninstalled itself, without my intervention and has eradicated all traces of it, including all my entries from the computer memory. There is no program in the applications list. Can you say why this may have happened please?

    I opened one of the .calendar folders. There was a folder named Events which had either one or some files ending .ics. I opened several of these, which put up a dialogue window showing some parameters with data strings attached as follows :-
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//Apple Inc.//iCal 4.0.4//EN
    CALSCALE:GREGORIAN
    BEGIN:VEVENT
    CREATED:20110824T070048Z
    UID:6AAAB8A2-64C7-4E88-8E5E-46A4D1036544
    DTEND;TZID=Europe/London:20110824T104500
    TRANSP:OPAQUE
    SUMMARY:Try to avoid general urticaria triggers such as stress\, alcohol
    \, aspirin\, hot baths\, rapid temperature changes\, tight clothing and
    junk or processed foods containing sulphur dioxide\, sodium benzoate\, s
    alicylate and tartrazine.\n\nAvoid tomatoes\, strawberries\, strong chee
    se\, dark fish and fermented foods.
    DTSTART;TZID=Europe/London:20110824T094500
    DTSTAMP:20110824T070102Z
    X-APPLE-EWS-BUSYSTATUS:BUSY
    SEQUENCE:2
    END:VEVENT
    END:VCALENDAR

  • Ipod won't sync for the first time ever.  I am also seeing the cloud for the first time.  Help.

    Windows 7 operating system.  Ipod classic.
    Added new content tonight (audio book discs - have done dozens of times before).  Went to sync.  Nothing doing.  Tried two different cables.  Noticed that what I added was put in the cloud.  I had never seen the cloud before.  I cannot get back to the regular library.
    Usually when I sync, content on my device that is no longer in the library (in this case the cloud, I gues) is also deleted from the device.  That isn't happening.  I don't think things are syncing at all.
    It would seem to me that it would not be the cloud that would sync, but the regular library, which I cannot seem to access. 
    Help

    I have tried the suggestion to reset the sync log to no avail. Anyone have another idea? This just started after I downloaded 4.3.5.

  • Can you please fix the bug where firefox continually collapses addon buttons into the "more tools" dropdown? Your continued ignoring of the bug is incompetent.

    No further details needed. 140 people saw an archived report of this a year ago.
    Fix the problem already.

    A year ago Firefox had a different user interface, so a comparison isn't accurate.
    Usually caused by an extension or two - not directly by Firefox itself. Try moving the add-on buttons into a different order or disable them one at a time to find the culprit.

  • Has anyone else seen the bug where you click on a suggestion from the awesome bar dropdown, but it selects one of the bookmarks behind this in the bookmarks toolbar?

    I think the question and following details are enough information. I don't have anything more to say!

    I have not observed any noticeable change on my systems but given Mavericks' dramatically improved RAM memory management, it is entirely possbile that a big chunk of what you are seeing is from reduced swapfile and cache file requirements. I suspect it will take a while before many (any?) of us comprehend the full impact of the changes.

  • Plz lookin "different panels which can place where ever we need"

    in one jsp how can we create different panels to display where each panel can collapse and can invisible by checking or unchecking it dynamically and each panel can be placed by the user where ever he need it that too the request should not go to the server when user changes the each panels state......
    (any doubts regarding this query are welcome)
    can any one help me out.

    The problem is that this forum does OR logic for its searches.  The most specific you can be is to use only the most unique word you have to use in a normal search.  Otherwise, use a regular web search and specify which site you want to see results
    for.   E.g. in BING or Google you would use the  site:technet.microsoft.com/forums  query term.
    This looks like a very simple case of 'bad engineering'.
    If I am going to have to go out to Google in order to perform a search to get s decent result for a Microsoft database, that really doesn't speak well of Microsoft.
    Sadly however, it really is the case that I get substantially better, more accurate results when using Google then when using Microsoft's TechNet directly - even when the answer is a TechNet forum or knowledgebase article.
    This said, it really doesn't address the question at hand in any way whatsoever.  If you direct your attention to the source question (should be recognizable as it is the big bold letters at the top listed under "Title") the answer being sought
    is regarding finding a way or a person who can "update the product list checkboxes on the left of the Technet search results" - as these, in fact, DO play a role in narrowing out unwanted search results, they are merely being terribly neglected.

  • HT203167 I have just downloaded the latest itunes version (11.0.1). All my data cannot now be located, though the library is showing all the correct content.The data is stored on an external hard drive. How do I tell the library where to find it's data?

    I have just downloaded the latest itunes version (11.0.1). All my data cannot now be located, though the library is showing all the correct content.The data is stored on an external hard drive. How do I tell the library where to find it's data?

    The iTunes application should be installed on the system drive. You may need to repair iTunes to fix that error regarding a missing .exe.
    To organize your library properly see Make a split library portable.
    If you don't have a working version of the library that can be transformed into a portable shape I have tools and techniques that can repair the broken links.
    tt2

  • Reg:How can we show non valuated stock in the system for the paid items?

    Hi All,
    Customer orders 100 boxes and pays to all material.But customers  are shipped the  required material as and when required.My client requirement is these 100 boxes should show as non valuated stock.
    How can we show these paid 100 boxes of material as non valuated stock in the sap? Is this functionality available in sap or it comes under requirement?
    Ex:Customer X ordered 100 boxes and he paid to all quantity.
         The customer X does not have space at his premises to keep the stock of 100 boxes.He just requests 20 boxes every monday or required quantity.Then company ships the required quantity to customer X.
    Now the requirement is that these 100 boxes should be shown as non valuated stock in the system.This should not used for other customers, should not work ATP functionality for these material quantity.This should show as reserved to this customer X
    could you share any ideas or solutions reg this..
    Thanks in advance,
    Regards....VM
    Edited by: vm on Mar 9, 2009 3:46 PM

    Hi Arnel,
    Thank you for giving valuable points.
    In consignment scenario,the stock is available at customer place not at company place.But ownership is company itself.
    But in this scenario,Customer is not having space to keep the total ordered quianty.So cutomer stock should be kept at company itself,customer requests the required quantity(for which he  already paid  for the total ordered quantity) as and when required.How can it suits in this scenario?Could you plz calirfy the debit memo to realize sales ?How it will be help ful?
    Thanks and regards...VM
    Edited by: vm on Mar 10, 2009 9:19 AM

Maybe you are looking for