Title: ToolTip Fix
Last modified: August 21, 2016

---

# ToolTip Fix

 *  [Sudavar](https://wordpress.org/support/users/sudavar/)
 * (@sudavar)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/tooltip-fix/)
 * In the summary widget in admin control panel, there is a problem with the tooltip
   shown after hovering over the most recent days (last dots on the graph).
 * As the tooltip is shown 20px to the right of pointer and the pointer is close
   to the right end of the window, a scroll bar appears and the tooltip is not visible(
   not at all for the last day, a little for the previous day etc) [Example](http://s16.postimg.org/9w6ihgczp/Screen_1.jpg)
 * If you add this code:
 *     ```
       var wdw = jQuery( window ).width();
       if(item.pageX > (wdw - wdw*0.08))
       	item.pageX -= 170;
       ```
   
 * before calling showTooltip() in file: google-analytics-summary-widget.php line
   84 problem seems to solve as shown [here](http://s17.postimg.org/n83fp6zfz/Screen_2.jpg)
 * [http://wordpress.org/plugins/google-analyticator/](http://wordpress.org/plugins/google-analyticator/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [bradlis7](https://wordpress.org/support/users/bradlis7/)
 * (@bradlis7)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/tooltip-fix/#post-4151770)
 * Noticed this bug myself. I changed `wdw*0.08` to `wdw*0.12`. Don’t really want
   to dig into the code at the moment, but maybe if you could get the width of the
   box, and anything to the right half of the widget box, make the tooltip go left,
   and anything on the left half, make it go to the right.
 *  Thread Starter [Sudavar](https://wordpress.org/support/users/sudavar/)
 * (@sudavar)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/tooltip-fix/#post-4151771)
 * As i said before (as the plugin is written now) the tooltip is shown some pixels
   right to the cursor (sorry not pointer) when you hover over a dot (day). So my
   thought was that if the cursor is closer than 8% to the right side of the screen,
   then the tooltip should appear 170px left from the cursor, making it appear to
   the left of the pointer not to the right.
 * As for your idea, it will complicate the code (as it is written now). Besides
   when your dashboard is on the 1rst column of admin panel, it is far away from
   the right side so the tooltip will be always visible.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘ToolTip Fix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-analyticator_fefefe.svg)
 * [Analyticator](https://wordpress.org/plugins/google-analyticator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analyticator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analyticator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analyticator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analyticator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analyticator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Sudavar](https://wordpress.org/support/users/sudavar/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/tooltip-fix/#post-4151771)
 * Status: not resolved