Threaded View

    Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2011
    Posts
    99
    Vote Rating
    0
    LEWJO10@ca.com is on a distinguished road

      0  

    Default (GXT 3.0.0 GA) AreaSeries: SeriesItemOverEvent Has Wrong Index and Item

    (GXT 3.0.0 GA) AreaSeries: SeriesItemOverEvent Has Wrong Index and Item


    Version of Ext GWT
    This problem occurs in the recently released GA version of Ext GWT 3.0.0.

    Browser Versions
    Firefox 7
    Internet Explorer 8

    Operating System
    Windows 7 64 bit

    Hardware
    Dell Precision M4500
    8 CPUs – Intel Core i7
    8 GB Memory

    Virtual Machine
    No

    Description
    When using the AreaSeries, the SeriesItemOverEvent has the wrong index and item properties.

    The SeriesItemOverEvent index property has the same value for an entire YField in the AreaSeries, and does not account for the intervals in the TimeAxis. This makes it useless for determining what item to use for the tooltip. In fact, the values of the index range from 0 to 1 less than the total YFields in the AreaSeries. The index is always 0 for the first YField, always 1 for the second Yfield, always 2 for the third YField, and so on.

    Likewise, the SeriesItemOverEvent item property has the same problem. The item is always the first item in the ListStore for the first YField, always the second item in the ListStore for the second YField, always the third item in the ListStore for the third YField, and so on. This makes event item useless for tooltip purposes where you want to include the date corresponding to the TimeAxis interval as well as one or more values from the item.

    We are using a SeriesItemOverHandler so that we can use SafeHtml for the tooltip as the tooltip content needs to support multiple line breaks and custom formatting.

    Run Mode
    Occurs in when deployed to Tomcat (web mode), and when running under Eclipse (dev mode).

    Steps to Reproduce
    The attached file (ColumnChartAreaSeriesToolTipIssue.txt) can be used to demonstrate the problem. After launching the chart, just mouse over the area series and you will see the tooltip issues described above. The attached screen shot (ColumnChartAreaSeriesToolTipIssue.png) show an example of the problem as well.

    The attached file (ColumnChartAreaSeriesToolTipIssueFixed.txt) contains a crude workaround to address this problem (see lines 146 through 158 and 183 through 214). After launching this fixed chart, just mouse over the area series and you will see the tooltips working properly. The attached screen shot (ColumnChartAreaSeriesToolTipIssueFixed.png) show an example of the fix as well.

    Please let me know if I am doing anything wrong in the code in the attached file or if there is a work around.

    Thanks,
    John L

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar