dojox icon indicating copy to clipboard operation
dojox copied to clipboard

SelectableLegend doesn't hide Pie-Chart segments

Open gerpres opened this issue 5 years ago • 1 comments

may be broken since v1.12 some similar code than:

run = arr.map(this.run.data, function(item, i){
	if(typeof item != "number" && item.hidden){ 
		this.runFilter.push(i); 
		item.hidden = false; 
	} 
	if(arr.some(this.runFilter, function(filter){return filter == i;})){ 
		if(typeof item == "number"){ 
			return 0; 
		}else{ 
			return {y: 0, text: item.text}; 
		} 
	}else{ 
		return item; 
	} 
}, this);

is missing in Pie.js

SelectableLegend.js populates plot's runFilter-array, but it's never taken into account

gerpres avatar Jul 19 '19 10:07 gerpres

any ideas?

gerpres avatar Mar 04 '20 08:03 gerpres