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 (Beta 1) Area Chart - AreaSeries SeriesItemOverEvent Issue

    (Beta 1) Area Chart - AreaSeries SeriesItemOverEvent Issue


    Brendan,

    The tool tips for an area series do not work well.

    When you add a SeriesItemOverHandler to an AreaSeries, the index and value properties in the SeriesItemOverEvent returned have nearly constant values. There is no way to determine which time interval along a TimeAxis or category item along a CategoryAxis the event corresponds to, which makes it impossible to show anything of interest in the tool tip.

    The index seems to correspond to an entire yField without regard to time interval or category item.

    The value appears to be the sum of all of the time intervals or category items for the yField, which winds up being a rather large and meaningless number (please see attached AreaChartToolTipIssue.png).

    If you run the attached ColumnChart_AreaSeriesToolTips.txt file and view the tool tips you will see what I mean.

    In a Flex area chart you can add a stroke to an area series yField that runs along the very top of the area series yField fill. Everywhere a TimeAxis time interval or a CategoryAxis category item intersected the stroke a tool tip would appear. Tool tips did not appear in the fill area of an AreaSeries yField.

    Perhaps we can do something similar here. Everywhere a TimeAxis time interval or a CategoryAxis category item intersects the top of an area series yField fill, show a tool tip if one is setup, etc.

    I have not worked with the line series yet, but I noticed on the demo site in the mixed series chart example that a line can have a fill. I imagine that if tool tips where setup in this example – they would only show on the line at the intersection points.

    Hope this helps.
    John Lewis
    Attached Images
    Attached Files

  2. #2
    Ext GWT Premium Member
    Join Date
    Oct 2011
    Posts
    99
    Vote Rating
    0
    LEWJO10@ca.com is on a distinguished road

      0  

    Default


    Brendan,

    I got around to working with the line series and found that by using the fill and fill renderer options along with configuring tool tips that I could get the same functionality that I had in Flex area charts.

    So, I do not really need any changes to the area series class as I can use the line series class instead for area charts.

    Nice work on the line series class!

    Thanks,
    John Lewis

  3. #3
    Sencha - GXT Dev Team BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Vote Rating
    3
    BrendanC is on a distinguished road

      0  

    Default


    The default AreaSeries highlighting and default tooltip values have been completely revamped to be more accurate. This change is currently in SVN and will be in the next release.
    Glad to hear you found a workaround in LineSeries. We have worked hard to make the series as easily customized as possible.

Thread Participants: 1