mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
change _all conditionals to Count
This commit is contained in:
parent
8a03f4fd38
commit
4e5a6945ba
2 changed files with 8 additions and 4 deletions
|
@ -517,8 +517,12 @@ define(function (require) {
|
|||
var names = [];
|
||||
var self = this;
|
||||
|
||||
_.forEach(array, function (obj) {
|
||||
names.push({ label: obj.name, values: obj, index: index });
|
||||
_.forEach(array, function (obj, i) {
|
||||
names.push({
|
||||
label: obj.name,
|
||||
values: obj,
|
||||
index: index
|
||||
});
|
||||
|
||||
if (obj.children) {
|
||||
var plusIndex = index + 1;
|
||||
|
|
|
@ -167,7 +167,7 @@ define(function (require) {
|
|||
return pointLabel !== label.toString();
|
||||
}
|
||||
|
||||
if (label && label !== '_all') {
|
||||
if (label && label !== 'Count') {
|
||||
d3.select(this).style('cursor', 'pointer');
|
||||
}
|
||||
|
||||
|
@ -208,7 +208,7 @@ define(function (require) {
|
|||
|
||||
legendDiv.selectAll('li.color').each(function (d) {
|
||||
var label = d.label;
|
||||
if (label !== undefined && label !== '_all') {
|
||||
if (label !== undefined && label !== 'Count') {
|
||||
d3.select(this).call(self.events.addClickEvent());
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue