parent
769b6bada8
commit
4fcd8a6db3
@ -163,6 +163,10 @@ erpnext.SalesFunnel = Class.extend({
|
|||||||
draw_legend: function(x_mid, y_mid, width, height, title) {
|
draw_legend: function(x_mid, y_mid, width, height, title) {
|
||||||
var context = this.elements.context;
|
var context = this.elements.context;
|
||||||
|
|
||||||
|
if(y_mid == 0) {
|
||||||
|
y_mid = 7;
|
||||||
|
}
|
||||||
|
|
||||||
// draw line
|
// draw line
|
||||||
context.beginPath();
|
context.beginPath();
|
||||||
context.moveTo(x_mid, y_mid);
|
context.moveTo(x_mid, y_mid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user