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,483
    Vote Rating
    35
    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');
    });

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar