1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    169
    Vote Rating
    1
    Dmoney is on a distinguished road

      0  

    Default Custom tooltip for Chart

    Custom tooltip for Chart


    I'm trying to display detailed information in a tooltip for a chart. but I don't know how to pass the chart data to the tooltip html.

    for example

    Code:
     tips: {            trackMouse: true,
                width: 200,
                height: 120,
                layout: 'fit',
                items: {
                    xtype: 'container',
                    layout: 'hbox',
                    items: [{
                        html: '<span class="myTip">test1</span>'
                    },{ html: '<span class="myTip">test2</span>'}]
                },
                renderer: function(class, item) {
                    var storeItem = item.storeItem;
    
    
    
    
                    this.setTitle("Information for period starting" + storeItem.get('name'));
    
    
    
    
                }
            }
    can someone help me understand how do I replace test1 in the hbox layout with something like storeItem.get('change')

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Have you reviewed the following example?
    http://dev.sencha.com/deploy/ext-4.1...TipsChart.html

    Scott.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi