mirror of https://github.com/vitalif/dimple
Fix Tooltip
parent
2eead4a89a
commit
503396e951
|
@ -2355,7 +2355,7 @@ var dimple = {
|
||||||
}, this);
|
}, this);
|
||||||
} else {
|
} else {
|
||||||
// Add the axis measure value
|
// Add the axis measure value
|
||||||
rows.push(series.x.measure + ": " + series.x._getFormat()((e.cx === e.x ? e.xValue : e.cx - e.x)));
|
rows.push(series.x.measure + ": " + series.x._getFormat()(e.width));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (series.y._hasTimeField()) {
|
if (series.y._hasTimeField()) {
|
||||||
|
@ -2367,7 +2367,7 @@ var dimple = {
|
||||||
}, this);
|
}, this);
|
||||||
} else {
|
} else {
|
||||||
// Add the axis measure value
|
// Add the axis measure value
|
||||||
rows.push(series.y.measure + ": " + series.y._getFormat()((e.cy === e.y ? e.yValue : e.cy - e.y)));
|
rows.push(series.y.measure + ": " + series.y._getFormat()(e.height));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (series.z !== null && series.z !== undefined) {
|
if (series.z !== null && series.z !== undefined) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -307,7 +307,7 @@
|
||||||
}, this);
|
}, this);
|
||||||
} else {
|
} else {
|
||||||
// Add the axis measure value
|
// Add the axis measure value
|
||||||
rows.push(series.x.measure + ": " + series.x._getFormat()((e.cx === e.x ? e.xValue : e.cx - e.x)));
|
rows.push(series.x.measure + ": " + series.x._getFormat()(e.width));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (series.y._hasTimeField()) {
|
if (series.y._hasTimeField()) {
|
||||||
|
@ -319,7 +319,7 @@
|
||||||
}, this);
|
}, this);
|
||||||
} else {
|
} else {
|
||||||
// Add the axis measure value
|
// Add the axis measure value
|
||||||
rows.push(series.y.measure + ": " + series.y._getFormat()((e.cy === e.y ? e.yValue : e.cy - e.y)));
|
rows.push(series.y.measure + ": " + series.y._getFormat()(e.height));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (series.z !== null && series.z !== undefined) {
|
if (series.z !== null && series.z !== undefined) {
|
||||||
|
|
Loading…
Reference in New Issue