1. #1
    Ext User
    Join Date
    Jun 2009
    Posts
    2
    Vote Rating
    0
    mkingry is on a distinguished road

      0  

    Default click Listener with columnChart

    click Listener with columnChart


    I've tried adding a listener for a columnChart but to no avail. Nothing happens when I click on the chart.

    I'm beginning to think the columnChart does not support the click event.

    I want to have listener return the column clicked on similar to the line chart in the chart examples.

    this is the listener code I added to the columnChart definition:

    listeners: {
    click: function(o){
    var rec = store.getAt(o.index);
    Ext.example.msg('Item Selected', 'You chose {0}.', rec.get('name'));
    }
    }

    Any assistance is greatly appreciated.

  2. #2
    Ext User
    Join Date
    Aug 2009
    Posts
    13
    Vote Rating
    0
    hankin is on a distinguished road

      0  

    Default Adding click event to a chart

    Adding click event to a chart


    Is there a work around for this? I am having the same issue.

  3. #3
    Ext User
    Join Date
    Sep 2009
    Posts
    1
    Vote Rating
    0
    andrespires is on a distinguished road

      0  

    Default


    Hi,
    did anyone find a solution?

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Docs are incomplete right now.

    Try using itemclick

    And then stop in debug and examine exactly what you get passed.

  5. #5
    Ext User
    Join Date
    Aug 2009
    Posts
    13
    Vote Rating
    0
    hankin is on a distinguished road

      0  

    Default Work around

    Work around


    I was able to replicate the behavior by adding a mouse down listener.

    var el = Ext.get('chartObj');
    el.addListener('mousedown', function(){
    window.location.href('../XXX/XXXX.htm');
    });

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