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
metexplore
MetExploreViz
Commits
916cde89
Commit
916cde89
authored
Jan 08, 2020
by
maxchaza
Browse files
Merge branch 'hotfix/discretemapping'
parents
2c2b25ae
96f4033a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/view/form/selectConditionForm/SelectConditionFormController.js
View file @
916cde89
...
...
@@ -690,8 +690,8 @@ Ext.define('metExploreViz.view.form.selectConditionForm.SelectConditionFormContr
{
color
.
setValue
(
newValue
);
var
mappingName
=
selectedCondition
.
split
(
"
_
"
)[
0
];
var
conditionName
=
selectedCondition
.
split
(
"
_
"
)[
1
];
var
mappingName
=
selectedCondition
.
split
(
"
/
"
)[
0
];
var
conditionName
=
selectedCondition
.
split
(
"
/
"
)[
1
];
metExploreD3
.
GraphStyleEdition
.
setCollectionStyleDiscreteMapping
(
aStyleFormParent
.
target
,
aStyleFormParent
.
attrType
,
aStyleFormParent
.
attrName
,
aStyleFormParent
.
biologicalType
,
conditionName
,
mappingName
,
color
.
getName
(),
color
.
getValue
());
...
...
@@ -746,8 +746,8 @@ Ext.define('metExploreViz.view.form.selectConditionForm.SelectConditionFormContr
var
newColor
=
evt
.
target
.
value
;
color
.
setValue
(
newColor
);
var
mappingName
=
selectedCondition
.
split
(
"
_
"
)[
0
];
var
conditionName
=
selectedCondition
.
split
(
"
_
"
)[
1
];
var
mappingName
=
selectedCondition
.
split
(
"
/
"
)[
0
];
var
conditionName
=
selectedCondition
.
split
(
"
/
"
)[
1
];
metExploreD3
.
GraphStyleEdition
.
setCollectionStyleDiscreteMapping
(
aStyleFormParent
.
target
,
aStyleFormParent
.
attrType
,
aStyleFormParent
.
attrName
,
aStyleFormParent
.
biologicalType
,
conditionName
,
mappingName
,
color
.
getName
(),
color
.
getValue
());
});
...
...
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