Merge branch 'hotfix/5.5.7'

This commit is contained in:
yuri
2019-02-08 16:03:06 +02:00
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -5174,10 +5174,10 @@ Flotr.addPlugin('hit', {
}
}
if (n.mouse.autoPositionVertical) {
if (n.yaxis.d2p(n.y) > this.plotHeight * 2 / 3) {
p = 'n';
} else {
if (this.plotHeight - n.yaxis.d2p(n.y) > this.plotHeight * 3 / 4) {
p = 's';
} else {
p = 'n';
}
}
// EspoCRM fix end
@@ -165,6 +165,7 @@ Espo.define('crm:views/dashlets/sales-by-month', 'crm:views/dashlets/abstract/ch
relative: true,
lineColor: this.hoverColor,
position: 's',
autoPositionVertical: true,
trackFormatter: function (obj) {
var i = parseInt(obj.x);
var value = '';