You found a bug! We've classified it as EXTJSIV-7871 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Switzerland
    Posts
    6
    Vote Rating
    0
    Swissbite is on a distinguished road

      0  

    Default Chart - Ext.chart.LineSeries - isExcluded() is not working

    Chart - Ext.chart.LineSeries - isExcluded() is not working


    REQUIRED INFORMATIONExt version tested:
    • Ext 4.1.1 - Ext4.1.3
    Description:
    • After hiding/showing a LineSerie the question isExcluded() is returning a wrong value.
      • It's only failing on Ext.chart.LineSeries
    Steps to reproduce the problem:
    • Hide aSeries
    • Ask if isExcluded
    • Show a LineSeries
    The result that was expected:
    • Return true or false if is hidden/excluded or not.
    The result that occurs instead:
    • undefined
    FIX/Workaround:
    Inserted the correct values on this.__excludes in the prototype functions hideAll() and showAll()
    Code:
        
    var hideAll = Ext.chart.LineSeries.prototype.hideAll;
    Ext.chart.LineSeries.prototype.hideAll = function() { this.__excludes = [true]; hideAll.prototype.constructor.call(this, arguments); };
    var showAll = Ext.chart.LineSeries.prototype.showAll;
    Ext.chart.LineSeries.prototype.showAll = function() { this.__excludes = [false]; showAll.prototype.constructor.call(this, arguments); };
    Last edited by Swissbite; 30 Nov 2012 at 9:23 AM. Reason: Exists also in 4.1.3

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,641
    Vote Rating
    434
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Tags for this Thread