PDA

View Full Version : Some problem about tool tip



ciphergalm1
1 Mar 2012, 6:52 AM
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?

mitchellsimoens
1 Mar 2012, 1:47 PM
Have you specified a renderer method for the tips?

ciphergalm1
1 Mar 2012, 10:00 PM
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"

mitchellsimoens
2 Mar 2012, 6:19 AM
I'm using this in 4.0.7 and 4.1.0 and is working on my line, pie and bar series.

ciphergalm1
3 Mar 2012, 9:51 PM
So how can I get it working in radar series?