Multiple Tooltips are not showing up when hovering over overlapping chart items

Hi!
I ran into a problem which I am unable to fix. Either I am missing something very obvious or this is a bug. I set up a LineChart with two series. One series has multiple overlapping data points, and both series overlap in one point.
Data tips are only getting displayed where the data points of the two different series overlap. Hovering over the overlapping points of a single series does not lead to multiple data tips being displayed. According to Flex SDK docs this should be possible.
Here's a simple example which shows the problem:
<?xml version = "1.0"?>
<s:Application xmlns:fx = "http://ns.adobe.com/mxml/2009"
                  xmlns:mx = "library://ns.adobe.com/flex/mx"
                  xmlns:s = "library://ns.adobe.com/flex/spark"
                  xmlns:local = "*">
     <fx:Script>
          <![CDATA[
               import mx.charts.HitData;
               import mx.collections.ArrayCollection;
               import mx.graphics.SolidColorStroke;
               [Bindable]
               private var values:ArrayCollection = new ArrayCollection([{date: new Date(2010, 10, 15), value:120},
                    {date: new Date(2010, 11, 15), value: 60},
                    {date: new Date(2011, 0, 15), value: 40},
                    {date: new Date(2011, 0, 30), value: 7},
                    {date: new Date(2011, 1, 15), value: 30},
                    {date: new Date(2011, 1, 18), value: 61},              
                    {date: new Date(2011, 1, 23), value: 80}]);
               [Bindable]
               private var values2:ArrayCollection = new ArrayCollection([{date: new Date(2010, 10, 15), value:120},
                    {date: new Date(2010, 11, 15), value: 200},
                    {date: new Date(2011, 0, 15), value: 29},
                    {date: new Date(2011, 0, 15, 13, 59, 99), value: 29},
                    {date: new Date(2011, 0, 15, 13, 58, 99), value: 29},
                    {date: new Date(2011, 0, 15, 13, 57, 99), value: 29.5},
                    {date: new Date(2011, 0, 15), value: 29.5},
                    {date: new Date(2011, 0, 15), value: 30},
                    {date: new Date(2011, 0, 15), value: 30.5},
                    {date: new Date(2011, 0, 15), value: 30.5},
                    {date: new Date(2011, 0, 15), value: 30.5},
                    {date: new Date(2011, 0, 15), value: 30},
                    {date: new Date(2011, 0, 15), value: 30},
                    {date: new Date(2011, 0, 15), value: 30},
                    {date: new Date(2011, 0, 15), value: 31},
                    {date: new Date(2011, 0, 15), value: 31},
                    {date: new Date(2011, 0, 30), value: 70},
                    {date: new Date(2011, 1, 15), value: 2},
                    {date: new Date(2011, 1, 18), value: 180},              
                    {date: new Date(2011, 1, 23), value: 80}]);
               [Bindable]
               private var minDate:Date = new Date(2010, 10, 1);
               [Bindable]
               private var maxDate:Date = new Date();
               private function getDataTip(hitData:HitData):String
                    return "<b>Tip:</b><br> Date: " + hitData.item.date + '<br>Value: ' + hitData.item.value;
          ]]>
     </fx:Script>
     <s:layout>
          <s:VerticalLayout/>
     </s:layout>
     <s:width>100%</s:width>
     <s:height>100%</s:height>
     <s:Panel title = "Chart Test">
          <s:width>100%</s:width>
          <s:height>100%</s:height>
          <s:layout>
               <s:VerticalLayout/>
          </s:layout>
          <mx:PlotChart id = "chart">
               <mx:width>100%</mx:width>
               <mx:height>100%</mx:height>
               <!-- Uncomment this in order to see that there are overlapping items -->
               <!-- mx:showAllDataTips>true</mx:showAllDataTips-->
               <mx:selectionMode>multiple</mx:selectionMode>
               <mx:dataTipMode>multiple</mx:dataTipMode>
               <mx:showDataTips>true</mx:showDataTips>
               <mx:dataTipFunction>getDataTip</mx:dataTipFunction>
               <mx:horizontalAxis>
                    <mx:DateTimeAxis minimum = "{minDate}"
                                         maximum = "{maxDate}"/>
               </mx:horizontalAxis>
               <mx:series>
                    <mx:LineSeries dataProvider = "{values}"
                                                  displayName = "Series 1"
                                                  yField = "value"
                                                  xField = "date"
                                                  interpolateValues = "true"
                                                  lineStroke = "{new SolidColorStroke(0x00FF00, 3, 0.5)}"
                                                  stroke = "{new SolidColorStroke(0x00FF00, 3, 0.5)}"
                                                  itemRenderer = "mx.charts.renderers.CircleItemRenderer"/>
                    <mx:LineSeries dataProvider = "{values2}"
                                                  displayName = "Series 2"
                                                  yField = "value"
                                                  xField = "date"
                                                  interpolateValues = "true"
                                                  lineStroke = "{new SolidColorStroke(0xFF0000, 3, 0.5)}"
                                                  stroke = "{new SolidColorStroke(0xFF0000, 3, 0.5)}"
                                                  itemRenderer = "mx.charts.renderers.CircleItemRenderer"/>
               </mx:series>
          </mx:PlotChart>
     </s:Panel>
</s:Application>
Any help is appreciated!
Thanks!

Hi!
I ran into a problem which I am unable to fix. Either I am missing something very obvious or this is a bug. I set up a LineChart with two series. One series has multiple overlapping data points, and both series overlap in one point.
Data tips are only getting displayed where the data points of the two different series overlap. Hovering over the overlapping points of a single series does not lead to multiple data tips being displayed. According to Flex SDK docs this should be possible.
Here's a simple example which shows the problem:
<?xml version = "1.0"?>
<s:Application xmlns:fx = "http://ns.adobe.com/mxml/2009"
                  xmlns:mx = "library://ns.adobe.com/flex/mx"
                  xmlns:s = "library://ns.adobe.com/flex/spark"
                  xmlns:local = "*">
     <fx:Script>
          <![CDATA[
               import mx.charts.HitData;
               import mx.collections.ArrayCollection;
               import mx.graphics.SolidColorStroke;
               [Bindable]
               private var values:ArrayCollection = new ArrayCollection([{date: new Date(2010, 10, 15), value:120},
                    {date: new Date(2010, 11, 15), value: 60},
                    {date: new Date(2011, 0, 15), value: 40},
                    {date: new Date(2011, 0, 30), value: 7},
                    {date: new Date(2011, 1, 15), value: 30},
                    {date: new Date(2011, 1, 18), value: 61},              
                    {date: new Date(2011, 1, 23), value: 80}]);
               [Bindable]
               private var values2:ArrayCollection = new ArrayCollection([{date: new Date(2010, 10, 15), value:120},
                    {date: new Date(2010, 11, 15), value: 200},
                    {date: new Date(2011, 0, 15), value: 29},
                    {date: new Date(2011, 0, 15, 13, 59, 99), value: 29},
                    {date: new Date(2011, 0, 15, 13, 58, 99), value: 29},
                    {date: new Date(2011, 0, 15, 13, 57, 99), value: 29.5},
                    {date: new Date(2011, 0, 15), value: 29.5},
                    {date: new Date(2011, 0, 15), value: 30},
                    {date: new Date(2011, 0, 15), value: 30.5},
                    {date: new Date(2011, 0, 15), value: 30.5},
                    {date: new Date(2011, 0, 15), value: 30.5},
                    {date: new Date(2011, 0, 15), value: 30},
                    {date: new Date(2011, 0, 15), value: 30},
                    {date: new Date(2011, 0, 15), value: 30},
                    {date: new Date(2011, 0, 15), value: 31},
                    {date: new Date(2011, 0, 15), value: 31},
                    {date: new Date(2011, 0, 30), value: 70},
                    {date: new Date(2011, 1, 15), value: 2},
                    {date: new Date(2011, 1, 18), value: 180},              
                    {date: new Date(2011, 1, 23), value: 80}]);
               [Bindable]
               private var minDate:Date = new Date(2010, 10, 1);
               [Bindable]
               private var maxDate:Date = new Date();
               private function getDataTip(hitData:HitData):String
                    return "<b>Tip:</b><br> Date: " + hitData.item.date + '<br>Value: ' + hitData.item.value;
          ]]>
     </fx:Script>
     <s:layout>
          <s:VerticalLayout/>
     </s:layout>
     <s:width>100%</s:width>
     <s:height>100%</s:height>
     <s:Panel title = "Chart Test">
          <s:width>100%</s:width>
          <s:height>100%</s:height>
          <s:layout>
               <s:VerticalLayout/>
          </s:layout>
          <mx:PlotChart id = "chart">
               <mx:width>100%</mx:width>
               <mx:height>100%</mx:height>
               <!-- Uncomment this in order to see that there are overlapping items -->
               <!-- mx:showAllDataTips>true</mx:showAllDataTips-->
               <mx:selectionMode>multiple</mx:selectionMode>
               <mx:dataTipMode>multiple</mx:dataTipMode>
               <mx:showDataTips>true</mx:showDataTips>
               <mx:dataTipFunction>getDataTip</mx:dataTipFunction>
               <mx:horizontalAxis>
                    <mx:DateTimeAxis minimum = "{minDate}"
                                         maximum = "{maxDate}"/>
               </mx:horizontalAxis>
               <mx:series>
                    <mx:LineSeries dataProvider = "{values}"
                                                  displayName = "Series 1"
                                                  yField = "value"
                                                  xField = "date"
                                                  interpolateValues = "true"
                                                  lineStroke = "{new SolidColorStroke(0x00FF00, 3, 0.5)}"
                                                  stroke = "{new SolidColorStroke(0x00FF00, 3, 0.5)}"
                                                  itemRenderer = "mx.charts.renderers.CircleItemRenderer"/>
                    <mx:LineSeries dataProvider = "{values2}"
                                                  displayName = "Series 2"
                                                  yField = "value"
                                                  xField = "date"
                                                  interpolateValues = "true"
                                                  lineStroke = "{new SolidColorStroke(0xFF0000, 3, 0.5)}"
                                                  stroke = "{new SolidColorStroke(0xFF0000, 3, 0.5)}"
                                                  itemRenderer = "mx.charts.renderers.CircleItemRenderer"/>
               </mx:series>
          </mx:PlotChart>
     </s:Panel>
</s:Application>
Any help is appreciated!
Thanks!

Similar Messages

  • The names of my contacts are not showing up when I receive text messages

    The names of my contacts are not showing up when I receive text messages, only the number is showing up. How can I fix this?

    This is a HUGE iOS bug.. Following a tip from another poster, I was able to fix the issue (temporarily).
    This worked for me on Verizon.
    I dialed *228 on my Verizon phone. I pressed "1" to activate it over the air. I then went into task manager and killed all the running apps.. Waited a few minutes.
    The next text I got displayed the number correctly!.. Until I rebooted, that is.
    PLEASE, call Apple and speak with a senior engineer on this. They can't fix it if they don't know it's a problem! (800) MY-IPHONE

  • Our illustrator files are not showing up when uploaded to creative cloud.

    Our illustrator files are not showing up when uploaded to creative cloud. They are visible sometimes when we turn on and off the layers. Please help thanks.

    If you feel that you have enough evidence of the symptoms, use the feedback at http://www.apple.com/feedback/itunesapp.html to let Apple know. The "feedback type" of "bug report" has been removed from the iTunes feedback, so I suggest you use use "Other".
    You will not receive any feedback from them, but they do read the submissions and act upon them. It can take a while, and more than one iTunes update before the issue is resolved.

  • TS4337 I have a Google calendar that is syncing with my iPad and on my MacBook Air. However, the calendar items are not showing up when I access iCloud via the Internet. Any suggestions?

    I have a Google calendar that is syncing with my iPad and on my MacBook Air. However, the calendar items are not showing up when I access iCloud via the Internet. Any suggestions?

    On the iPad tap Settings > iCloud
    Toggle Documents & Data off then back on then restart your iPad.
    Hold the On/Off Sleep/Wake button down until the red slider appears. Slide your finger across the slider to turn off iPhone. To turn iPhone back on, press and hold the On/Off Sleep/Wake button until the Apple logo appears.
    On the iMac open System Preferences > iCloud
    Deselect the box next to Documents & Data then reselect it then restart your iMac.

  • Tool bar gifs are not showing up when the application left idle for long.

    Hi,
    I have a Java application built with jdk sdk 1.4. This application was earlier on jdk 1.3 and very recently we moved to 1.4.
    The problem here is, tool bar gifs don't show up when the application is left idle for long or kept minimized for long. After I minimize and maximize, they show up. Also sometimes few are seen and few are not, and again as I said minimize and maximize, the rest(which were not showing up earlier) turn and therest don't.
    What could be the reason. This was not the case in jdk 1.3.
    Any help wil be highly appriciated.
    Thanx

    I have the same issue with 1.4.

  • Color label folders are not showing up when I do a "find"

    On my iMac 10.3 OS my colored folders show up but in my macbook pro 10.4.11 they do not. The images show up colored if I have put a color to them. I have selected "color label" in the "kind" box when I do a find but that doesn't help. I am REALLY used to making my more important folders a certain color so they are easier to spot when I do a "find". Is there a way to do this on a MacBook Pro 10.4.11 OS ?????????
    thanks for your time to reply if you can

    Yes it does and always has.
    Try testing with a new project.
    General advice is to always include your version of RoboHelp in posts and where applicable, the output you are creating.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • After the IOS 6 upgrade the new phone features are not showing up when I get a call. I have a Iphone 4s

    I have the Iphone 4S and after the upgrade to IOS 6 the new features are showing on my phone when I receive a call

    If the basic troubleshooting steps, including restore as a NEW device, not from backup, have failed to resolve your issue, then you are probably having some hardware malfunction.  You will need to bring your phone, and $199 to Apple for out of warranty replacement of the phone.

  • In Acrobat X Pro, fields are not showing up when previewing or creating Reader-enabled PDF

    I have a form with many fields (217 in all). When I click "Preview" within Form Editing, I only see a small subset of the fields. If I save as a user-enabled form, that form only shows the same fields. Why aren't all of the fields showing up? Thanks!

    Never mind. I believe I figured it out. I thought that setting the form field to "Invisible" just affected whether the box would be visible to the end-user, not whether it would be fillable at all. Now that I set all of the fields as "Visible but doesn't print" all of the fields show up.

  • Fonts are not showing properly when opened through mail?

    When sending a PDF via email the Frutiger font does not appear properly on an iPad or iPhone. When viewed on an iPhone all the text appears as gradient boxes and when viewing on an iPad font becomes too light to be legible. Is this a problem with the font in the iOS platform? I also tried opening the file in iBooks and got the same outcome.

    Does disabling hardware acceleration have a positive effect or is it still happening?
    https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration

  • Multiple picklist field not showing up when trying to create a custom repor

    I recently have created 4 new fields in CRM, and 3 of the 4 fields can be found to create a report. For some reason, the multiple picklist field has not shown up. Any suggestions or advice on why this is an issue?

    Hi,
    The multi-select picklist should be available in the Analytics reports not in real-time reports.
    Another thing is that there is a delay in metadata refresh in reports, in staging it is about a week, in production it is 1 day, I think. so if you created a multi-select picklist in staging today, it would be available in analytics reports maybe after a week.
    Regards,
    Ani

  • My attachments are not showing up when I send an email

    When I send an email with an attachment, people tell me there is not an attachment, but I can see if on my end.

    jenfromthornton wrote:
    It happens with all different types of attchments and I have tried to resend.  It usually only happens when I send am attachment from my work email address to another employee.  Do you think that means its our work server removing the attachment?
    I think that's a good possibility. Has it ever happened between home email addresses? To troubleshoot this, you need to keep track of one attachment, who it was sent to, and where, then try that same attachment from/to another location.

  • My graphics are not showing properly when online, does anyone know how to rectify this? everything was ok when i was on google chrome now all i get is a white background with black and blue colours grrr

    i just got a basic screen with white background, black and script

    See:
    * http://kb.mozillazine.org/Website_colors_are_wrong
    * http://kb.mozillazine.org/Websites_look_wrong

  • Columns are not being recognized when I print a scanned item

    I am scanning to an editable document.  The document I am scanning has columns but when I print the columns are gone and everything is put in a list.  How do I correct this?
    This question was solved.
    View Solution.

    Hi pattyc2738. Scanning items to 'editable text' (also called OCR) can be difficult. Depending on what software you are using, most programs to get the image from the scanning glass only recognize the words, and not the formatting. Columns would be a special formatting feature that most entry level OCR software will not work well with.
    The “Scanning Text” section half way down this document may answer some basic questions you have:
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=bps02997&cc=us&dlc=en&lc=en&jumpid=reg_r1002_use​...
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Some Photos in Library are not showing on iPhoto

    I imported some photos from another Mac to my MacBook Air and organized them in several events.  All went well until I had a large number of photos (and some videos) which took a long time to transfer and iPhoto was not responding for over an hour.   I forced quit the iPhoto and now when I go back, I see the events that I had created but they are empty (photos are not showing).   When I tried to re-import the photos, it says the photos are duplicate which I assume it means photos exist in the photo library.  My question is how do I get the photos existing in the library to be visible on iPhoto.  Thanks.

    Back up your iPhoto library, Depress and hold the option (alt) and command keys and launch iPhoto - from the resulting first aid window repair permissions and if necessary rebuild your database
    LN

  • Netinstall images not showing up when holding down option key at startup

    Hi,
    I have setup two Netinstall images on my 10.5.5 server. On the clients I can see the two images via the 'Startup Disk' tab in System Preferences. But the images are not showing up when holding down the option key at startup. As I am getting ready to deploy to two labs of new iMacs, I would like to be able to get the Option key at Startup method to work as per the documentation.
    Any ideas why these images are not showing up as they should?

    I am having this problem on a 10.5.5 NetBoot server too. I can NetBoot clients by selecting a network volume in System Preferences > Startup Disk, but I can not see the network volumes when option-booting. I am having problems NetBooting while holding down the N-key too. The funny thing is that it works on new Intel iMacs, but not on Mac Pro1.1 (even with the latest firmware updates). NetBooting the Mac Pro works fine when selecting a NetBoot volume in System Preferences > Startup Disk.
    Does anybody have a solution? Is this a problem with Leopard Server 10.5.5?
    I am running DeployStudio Server v1.0rc9, and the NetInstall set is made with DeployStudio Assistant.
    Everything looks right with my bootpd.plist and log file.
    Dec 14 22:08:37 xserve bootpd(6722): server starting
    Dec 14 22:08:37 xserve bootpd(6722): re-reading /etc/bootptab
    Dec 14 22:08:37 xserve bootpd(6722): Loaded 0 entries from bootptab (0 bad)
    Dec 14 22:08:37 xserve bootpd(6722): server name server.example.com
    Dec 14 22:08:37 xserve bootpd(6722): interface en0: ip 158.36.32.190 mask 255.255.255.192
    Dec 14 22:08:37 xserve bootpd(6722): bsdpd: re-reading configuration
    Dec 14 22:08:37 xserve bootpd(6722): bsdpd: shadow file size will be set to 48 megabytes
    Dec 14 22:08:37 xserve bootpd(6722): bsdpd: age time 00:15:00
    Dec 14 22:08:39 xserve bootpd(6722): BSDP INFORM (en0) 1,0:17:f2:2:d5:9e NetBoot001 arch=i386 sysid=MacPro1,1
    Dec 14 22:08:39 xserve bootpd(6722): NetBoot: (1,0:17:f2:2:d5:9e) BSDP ACK(LIST) sent 158.36.32.161 pktsize 310
    Dec 14 22:08:39 xserve bootpd(6722): service time 0.000667 seconds
    Dec 14 22:08:52 xserve bootpd(6722): BSDP INFORM (en0) 1,0:17:f2:2:d5:9e NetBoot001 arch=i386 sysid=MacPro1,1
    Dec 14 22:08:52 xserve bootpd(6722): NetBoot: (1,0:17:f2:2:d5:9e) BSDP ACK(LIST) sent 158.36.32.161 pktsize 310
    Dec 14 22:08:52 xserve bootpd(6722): service time 0.000622 seconds

Maybe you are looking for