@@ 1487-1490 (lines=4) @@ | ||
1484 | row = this.data[index]; |
|
1485 | content = "<div class='morris-hover-row-label'>" + row.label + "</div>"; |
|
1486 | _ref = row.y; |
|
1487 | for (j = _i = 0, _len = _ref.length; _i < _len; j = ++_i) { |
|
1488 | y = _ref[j]; |
|
1489 | content += "<div class='morris-hover-point' style='color: " + (this.colorFor(row, j, 'label')) + "'>\n " + this.options.labels[j] + ":\n " + (this.yLabelFormat(y)) + "\n</div>"; |
|
1490 | } |
|
1491 | if (typeof this.options.hoverCallback === 'function') { |
|
1492 | content = this.options.hoverCallback(index, this.options, content); |
|
1493 | } |
|
@@ 775-778 (lines=4) @@ | ||
772 | row = this.data[index]; |
|
773 | content = "<div class='morris-hover-row-label'>" + row.label + "</div>"; |
|
774 | _ref = row.y; |
|
775 | for (j = _i = 0, _len = _ref.length; _i < _len; j = ++_i) { |
|
776 | y = _ref[j]; |
|
777 | content += "<div class='morris-hover-point' style='color: " + (this.colorFor(row, j, 'label')) + "'>\n " + this.options.labels[j] + ":\n " + (this.yLabelFormat(y)) + "\n</div>"; |
|
778 | } |
|
779 | if (typeof this.options.hoverCallback === 'function') { |
|
780 | content = this.options.hoverCallback(index, this.options, content); |
|
781 | } |