Results 1 to 3 of 3

Thread: Update grid on tap event of legend component in Sencha Chart

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    26
    Vote Rating
    1
      0  

    Default Unanswered: Update grid on tap event of legend component in Sencha Chart

    Hi,

    I have chart and grid in one panel.

    On tap of legend corresponding series is removed from the chart, same way I want to remove the corresponding column from grid.

    For that I can use hideColumn/showColumn.

    But how to trap the tap event?

    Is there any listener for before/after tap event of legends?

    Any help will be appreciable.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,335
    Answers
    3885
    Vote Rating
    1296
      0  

    Default

    The ST1 Touch Charts should have an itemtap event on the Ext.chart.Chart that will fire when you tap on the series.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    26
    Vote Rating
    1
      0  

    Default

    I am looking for event which is fired before/after tap on Legends.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •