-
1 Mar 2012 6:52 AM #1
Unanswered: Some problem about tool tip
Unanswered: 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?
-
1 Mar 2012 1:47 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,599
- Vote Rating
- 434
- Answers
- 3102
Have you specified a renderer method for the tips?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
1 Mar 2012 10:00 PM #3
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"
-
2 Mar 2012 6:19 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,599
- Vote Rating
- 434
- Answers
- 3102
I'm using this in 4.0.7 and 4.1.0 and is working on my line, pie and bar series.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
3 Mar 2012 9:51 PM #5


Reply With Quote