Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
morpheus.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Daria Zenkova
morpheus.js
Commits
c9904fab
Commit
c9904fab
authored
Mar 23, 2016
by
joshua-gould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed check for vector
parent
ebf8caa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
src/ui/heat_map_color_scheme.js
src/ui/heat_map_color_scheme.js
+1
-4
No files found.
src/ui/heat_map_color_scheme.js
View file @
c9904fab
...
...
@@ -464,9 +464,6 @@ morpheus.HeatMapColorScheme.prototype = {
this
.
vector
=
this
.
project
.
getSortedFilteredDataset
()
.
getRowMetadata
().
getByName
(
this
.
separateColorSchemeForRowMetadataField
);
if
(
this
.
vector
==
null
)
{
this
.
separateColorSchemeForRowMetadataField
=
null
;
}
}
this
.
rowValueToColorSupplier
=
{};
_
.
each
(
_
.
keys
(
json
.
colorSchemes
),
function
(
key
)
{
...
...
@@ -556,7 +553,7 @@ morpheus.HeatMapColorScheme.prototype = {
this
.
currentColorSupplier
.
isSizeBy
();
},
getColor
:
function
(
row
,
column
,
val
)
{
if
(
this
.
separateColorSchemeForRowMetadataField
!==
null
)
{
if
(
this
.
vector
!==
undefined
)
{
var
tmp
=
this
.
vector
.
getValue
(
row
);
if
(
this
.
value
!==
tmp
)
{
this
.
value
=
tmp
;
...
...
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