zoom for stock ledger report

This commit is contained in:
Anand Doshi
2012-09-19 19:06:38 +05:30
parent 40a3b46d61
commit 09d686f7f6
2 changed files with 7 additions and 15 deletions

View File

@@ -173,13 +173,10 @@ wn.pages['stock-ledger'].onload = function(wrapper) {
grid: { hoverable: true, clickable: true },
xaxis: { mode: "time",
min: dateutil.str_to_obj(this.from_date).getTime(),
max: dateutil.str_to_obj(this.to_date).getTime() },
zoom: {
interactive: true
},
pan: {
interactive: true
}
max: dateutil.str_to_obj(this.to_date).getTime(),
},
zoom: {interactive: true},
pan: {interactive: true}
}
},
get_tooltip_text: function(label, x, y) {