Results 1 to 5 of 5

Thread: Some problem about tool tip

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    7
    Vote Rating
    0
      0  

    Question Some problem about tool tip

    Hi,I'm using Ext-js 4.0.7 here and I can't add tips to a radar chart. I got some exceptions like "storeItem.get() is undefined",I think I need some help here.

    Besides, can I add some line showing the average value of something to a line chart?

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1381
      0  

    Default

    Have you specified a renderer method for the tips?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    7
    Vote Rating
    0
      0  

    Default

    Yes,just like the API doc shows,I've added the following codes to the series

    tips: {
    trackMouse: true,
    width: 80,
    height: 40,
    renderer: function(storeItem, item) {
    this.setTitle(storeItem.get('value1') + '<br />' + storeItem.get('value2'));
    }
    },

    but what I got is "Uncaught TypeError: Cannot call method 'get' of undefined"

  4. #4
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1381
      0  

    Default

    I'm using this in 4.0.7 and 4.1.0 and is working on my line, pie and bar series.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  5. #5
    Sencha User
    Join Date
    Feb 2012
    Posts
    7
    Vote Rating
    0
      0  

    Default

    So how can I get it working in radar series?

Posting Permissions

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