Results 1 to 2 of 2

Thread: Chart remove all data

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Mar 2009
    Posts
    9
    Vote Rating
    0
      0  

    Default Chart remove all data

    Hi all!

    I found problem with charts, if you display chart with some data from store and then you use
    chart.store.loadData(new Array()) (to load empty data) chart markers are removed but lines are still visible.

    Is this bug, or how to remove the lines?

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

    Default

    This is a bug and a reported one. To get around it, I destroy the chart and recreate it with the store with new data.
    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
  •