Results 1 to 2 of 2

Thread: Chart component without DOM element

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Vote Rating

    Default Unanswered: 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
    Gainesville, FL
    Vote Rating


    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!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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.

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