-
30 Nov 2012 9:22 AM #1
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
- After hiding/showing a LineSerie the question isExcluded() is returning a wrong value.
- It's only failing on Ext.chart.LineSeries
- Hide aSeries
- Ask if isExcluded
- Show a LineSeries
- Return true or false if is hidden/excluded or not.
- undefined
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
-
30 Nov 2012 1:22 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
Thanks for the report! I have opened a bug in our bug tracker.
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.


Reply With Quote