Allow clicking on chart elements to toggle back to the full view
This commit is contained in:
parent
5778f91fbe
commit
37c07c3ac0
1 changed files with 2 additions and 1 deletions
|
@ -1419,8 +1419,9 @@ LogUsageChart.prototype.handleElementClicked_ = function(e) {
|
||||||
var disabled = [];
|
var disabled = [];
|
||||||
|
|
||||||
var enabledCount = 0;
|
var enabledCount = 0;
|
||||||
|
var d = this.chart_.multibar.disabled();
|
||||||
for (var i = 0; i < this.data_.length; ++i) {
|
for (var i = 0; i < this.data_.length; ++i) {
|
||||||
enabledCount += (this.chart_.multibar.disabled()[i] ? 0 : 1);
|
enabledCount += (d[i] ? 0 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var i = 0; i < this.data_.length; ++i) {
|
for (var i = 0; i < this.data_.length; ++i) {
|
||||||
|
|
Reference in a new issue