diff --git a/Frontend Angular 4/package-lock.json b/Frontend Angular 4/package-lock.json index 86e56592f30f972b8a28c41955afcabf0ff6ec10..f75adca87bf20d5e610c293bd54e4e17ef2cdd05 100644 --- a/Frontend Angular 4/package-lock.json +++ b/Frontend Angular 4/package-lock.json @@ -4519,7 +4519,7 @@ "dev": true }, "graph3D": { - "version": "git://github.com/ifagian/graph3D.git#7ccf98694a6c2afc03f39d5f8bbe548f28c3538d", + "version": "git://github.com/ifagian/graph3D.git#c0b284a2503343898fbba1fba17040e6fc97f717", "from": "git://github.com/ifagian/graph3D.git#master", "requires": { "gif.js": "^0.2.0", diff --git a/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.html b/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.html index dcab32fe04457798b4409b4d3bb5cca26d4bb7cb..40f0e6b168b83740f6332881e46f93a08dc03643 100755 --- a/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.html +++ b/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.html @@ -76,7 +76,7 @@ (click)="toggleAxis()"> {{ "i18n.object.axes" | translate | titleCase }} </label> - <label> + <!-- <label> <input type="checkbox" name="tip" @@ -84,7 +84,7 @@ [checked]= settings.tip (click)="toggleTip()"> {{ "i18n.object.tip" | translate | titleCase }} - </label> + </label> --> <label [class.disabled]="funciones.length === 0"> <input type="checkbox" diff --git a/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.ts b/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.ts index b8b167689e53c5decd0365186e6d87dd08795f28..632a7ed28e85ca9ab38adbdd74d2fcb7399d1e2d 100755 --- a/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.ts +++ b/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.ts @@ -434,6 +434,8 @@ export class Graph2DComponent { let bounding = this.getBounding(); this.instance = functionPlot({ target: '#graph2D-container', + grid: this.settings.grid, + axis: this.settings.axis, width: bounding.width, height: bounding.height, tip: { @@ -463,7 +465,8 @@ export class Graph2DComponent { target: '#graph2D-container', width: bounding.width, height: bounding.height, - grid: true, + grid: this.settings.grid, + axis: this.settings.axis, xAxis: { scale: 'linear', domain: { @@ -506,7 +509,8 @@ export class Graph2DComponent { target: '#graph2D-container', width: bounding.width, height: bounding.height, - grid: true, + grid: this.settings.grid, + axis: this.settings.axis, xAxis: { scale: 'linear', domain: { @@ -569,6 +573,8 @@ export class Graph2DComponent { let bounding = $this.getBounding(); $this.instance = functionPlot({ target: '#graph2D-container', + grid: this.settings.grid, + axis: this.settings.axis, width: bounding.width, height: bounding.height, xAxis: {