Results 1 to 2 of 2

Thread: Misaligned tooltips in charts with browser body scroll

    You found a bug! We've classified it as EXTGWT-3710 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Jul 2011
    Location
    Germany
    Posts
    223
    Vote Rating
    24
      0  

    Default Misaligned tooltips in charts with browser body scroll

    Quote Originally Posted by Colin Alworth View Post
    Do you have a test case that can demonstrate the issue you are describing?
    Just came across this old issue, since my workaround is messy with GXT3.1.
    Here is an example to reproduce my issue:

    GXT Explorer Demo is added to a ViewPort. Thats why there are no Scroll Bars from the browser itself. All scroll bars are made by GXTs ViewPort. Thats the reason why my issue with these misplaced ToolTips ist not reproducable in Explorer Demo.

    Lets get rid of ViewPort. In ExplorerApp.java replace
    Code:
        Viewport vp = new Viewport();
        vp.setWidget(shell);
        RootPanel.get().add(vp);
    with
    Code:
        SimpleContainer vp = new SimpleContainer();
        vp.setWidget(shell);
        vp.setSize("1000px", "800px");
        RootPanel.get().add(vp);
    Run Demo. Open "Themed Chart" of Explorer Demo and reduze size of your Browser. Scroll to the chart via browsers scroll bars. Mouse over Data point of January.
    Expected: ToolTip appears near Mouse cursor
    Actual result: ToolTip appears wide right and too low.

    It seems like the scrolling of the browser is not considered for placing ToolTip. See screenshot.
    Attached Images Attached Images

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Vote Rating
    93
      0  

    Default

    Gotcha, thanks, this is a new issue. The previous one was a bug in the charts themselves, this issue is either specific to the tooltips, or just to the tooltip/chart code.

    I've moved your comment to a new thread to address it in its own right.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •