Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matefun
Frontend
Commits
dd64b11f
Commit
dd64b11f
authored
Sep 20, 2018
by
Diego Rey
Browse files
Fixed 2D settings controls
parent
3666bb6f
Changes
2
Show whitespace changes
Inline
Side-by-side
Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.html
View file @
dd64b11f
...
...
@@ -61,27 +61,27 @@
<label>
<input
type=
"checkbox"
name=
"
settings.
grid"
name=
"grid"
class=
"form-control form-control-sm"
[checked]=
settings.grid
[checked]=
settings.grid
(click)=
"toggleGrid()"
>
Grilla
</label>
<label>
<input
type=
"checkbox"
name=
"
settings.
axis"
name=
"axis"
class=
"form-control form-control-sm"
[checked]=
settings.axis
[checked]=
settings.axis
(click)=
"toggleAxis()"
>
Ejes
</label>
<label>
<input
type=
"checkbox"
name=
"
settings.
tip"
name=
"tip"
class=
"form-control form-control-sm"
[checked]=
settings.tip
[checked]=
settings.tip
(click)=
"toggleTip()"
>
Tip
</label>
...
...
Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.ts
View file @
dd64b11f
...
...
@@ -393,6 +393,7 @@ export class Graph2DComponent {
*/
public
toggleGrid
=
function
()
{
this
.
instance
.
toggleGrid
();
this
.
settings
.
grid
=
!
this
.
settings
.
grid
;
}
/**
...
...
@@ -401,6 +402,7 @@ export class Graph2DComponent {
*/
public
toggleAxis
=
function
()
{
this
.
instance
.
toggleAxis
();
this
.
settings
.
axis
=
!
this
.
settings
.
axis
;
}
/**
...
...
@@ -409,6 +411,7 @@ export class Graph2DComponent {
*/
public
toggleTip
=
function
()
{
this
.
instance
.
toggleTip
();
this
.
settings
.
tip
=
!
this
.
settings
.
tip
;
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment