Results 1 to 3 of 3

Thread: Interactions on Legend in a chart

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    6
    Vote Rating
    0
      0  

    Default Interactions on Legend in a chart

    I am trying to understand the interactions on a legend. So when i use a 'Energy' theme, I see that the series disappear when i toggle on a legend item marker. But when I use some other theme which comes with the standard charts sdk, it does not work.

    So the Ext.chart.legend.View#itemTap does not get called when i use a different theme than 'Energy' theme. What really triggers this itemTap for 'Energy' theme or why does the legend interactions not work for other themes?

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

    Default

    There shouldn't be anything a theme should do to affect this. All the theme does is setup the colors and such.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

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

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    6
    Vote Rating
    0
      0  

    Default

    yeah, thats what i thought. But I am not sure why this does not work for a different theme. is it the legend marker is masked by some other ui and so the itemTap is not triggered.

Posting Permissions

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