View Full Version : [Question] How to set tooltip on the label in the axis?

26 Jan 2012, 5:27 PM
Hi, I'd like to set tooltip on the labels in the x-axis.

unlike other components like label in the series, it seems to have different way to do that,
(or it is not just possible to do that?)

and I've been struggling to figure it out.

Does any1 has any ideas?

Thank you in advance.

27 Jan 2012, 10:00 AM
Try the following simple/ugly example:


<label id="myLabel" for="age">Age</label>
<input type="text" id="age" />

ExtJs :

var tip = Ext.create('Ext.tip.ToolTip', {
target: 'myLabel',
html: 'Please enter your age!'