Commit b3be2e89 authored by ifagian's avatar ifagian

Arreglo controles grilla y axes

parent d517c3e4
......@@ -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",
......
......@@ -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"
......
......@@ -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: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment