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
bad7d5a8
Commit
bad7d5a8
authored
Apr 04, 2016
by
joshua-gould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
row size and column size params
parent
810e26f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
src/ui/heat_map.js
src/ui/heat_map.js
+21
-0
No files found.
src/ui/heat_map.js
View file @
bad7d5a8
...
...
@@ -1633,6 +1633,27 @@ morpheus.HeatMap.prototype = {
this
.
updateDataset
();
}
if
(
this
.
options
.
rowSize
!=
null
)
{
if
(
this
.
options
.
rowSize
===
'
fit
'
)
{
this
.
heatmap
.
getRowPositions
().
setSize
(
this
.
getFitRowSize
());
}
else
{
this
.
heatmap
.
getRowPositions
().
setSize
(
this
.
options
.
rowSize
);
}
}
if
(
this
.
options
.
columnSize
!=
null
)
{
if
(
this
.
options
.
columnSize
===
'
fit
'
)
{
this
.
heatmap
.
getColumnPositions
().
setSize
(
this
.
getFitColumnSize
());
}
else
{
this
.
heatmap
.
getColumnPositions
().
setSize
(
this
.
options
.
columnSize
);
}
}
if
(
this
.
options
.
rowSize
!=
null
||
this
.
options
.
columnSize
!=
null
)
{
this
.
revalidate
();
}
this
.
options
.
parent
=
null
;
this
.
$tipFollow
=
$
(
'
<div style="left:-1000px; top:-1000px;" class="morpheus-tip-inline"></div>
'
);
this
.
$tipFollow
.
appendTo
(
this
.
$parent
);
...
...
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