Results 1 to 2 of 2

Thread: Chart component without DOM element

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    28
    Answers
    1
    Vote Rating
    1
      0  

    Default Chart component without DOM element

    Hi all,

    I have a Touch 2.0.1-application with the seperated Touch Charts module (2.0.0-beta).
    In my application I have a Carousel component which holds multiple Panels with a chart in it. The user can decide in what chart he wants to see the data (pie, line or bar).

    So I decided that when the user changes the chart type. I remove the old chart from the panel and add a new chart in it.

    The problem is that the new chart is not shown. I don't get an error and when I do a console.log on the panel, the chart component is created but there are no DOM elements created.
    The chartBBox property has all properties on 0 and in the elemt property there are no childNodes set.

    Can anybody help me out?

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

    Default

    Try upgrading to 2.1.0 b2, the charts have been rewritten and are now included in the framework. The touch charts 2 beta is deprecated in favor of these new ones.
    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

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
  •