Results 1 to 2 of 2

Thread: Pie Chart - tooltips not working?

    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
    Sencha User
    Join Date
    Nov 2011
    Posts
    6
    Vote Rating
    0
      0  

    Default Pie Chart - tooltips not working?

    I have working tool tips on my column charts with no problems. When I use the same code for a Pie chart, no tool tips are displayed even though the code is called. Any ideas?

    Note that
    Code:
    chart.setTitle("blah");
    Does seem to work in IE at least.

    Code:
    protected final SeriesToolTipConfig<T> toolTipConfig = new SeriesToolTipConfig<T>();
    ...
    private PieSeries<T> series = new PieSeries<T>();
    toolTipConfig.setNumericLabelProvider(null);
    
    series.setToolTipConfig(toolTipConfig);
    ...
    series.addSeriesItemOverHandler(new SeriesItemOverHandler() {
                @Override
                public void onSeriesOverItem(SeriesItemOverEvent event) {
                    toolTipConfig.setBodyHtml("my cool text!");                
                }
            });

  2. #2
    Sencha User BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Vote Rating
    3
      0  

    Default

    Thanks for bringing this to my attention. This is fixed in SVN and will be in the next release.

Posting Permissions

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