New networkmaps in progress... (Fixed offset parameters when maps shows in dashboard)

This commit is contained in:
Arturo Gonzalez 2016-10-17 08:38:55 +02:00
parent cdc469f974
commit ee9083ae73
1 changed files with 2 additions and 2 deletions

View File

@ -2204,10 +2204,10 @@ function init_graph(parameter_object) {
.size([width_svg, height_svg]);
if (x_offs != null) {
translation[0] = x_offs;
translation[0] = translation [0] + x_offs;
}
if (y_offs != null) {
translation[1] = y_offs;
translation[1] = translation [1] + y_offs;
}
if (z_dash != null) {
scale = z_dash;