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
a11e3e2a
Commit
a11e3e2a
authored
Jun 23, 2016
by
Joshua Gould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
external js update. Chart buttons to show.
parent
bdb168bf
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
71 deletions
+72
-71
js/canvas2svg.js
js/canvas2svg.js
+3
-2
js/morpheus-external-latest.min.js
js/morpheus-external-latest.min.js
+37
-37
js/morpheus-latest.min.js
js/morpheus-latest.min.js
+5
-5
js/plotly-latest.min.js
js/plotly-latest.min.js
+24
-24
src/tools/chart_tool2.js
src/tools/chart_tool2.js
+2
-2
src/ui/heat_map.js
src/ui/heat_map.js
+1
-1
No files found.
js/canvas2svg.js
View file @
a11e3e2a
/*!!
/*!!
* Canvas 2 Svg v1.0.1
7
* Canvas 2 Svg v1.0.1
9
* A low level canvas to SVG converter. Uses a mock canvas context to build an SVG document.
* A low level canvas to SVG converter. Uses a mock canvas context to build an SVG document.
*
*
* Licensed under the MIT license:
* Licensed under the MIT license:
...
@@ -880,7 +880,7 @@
...
@@ -880,7 +880,7 @@
* @private
* @private
*/
*/
ctx
.
prototype
.
__parseFont
=
function
()
{
ctx
.
prototype
.
__parseFont
=
function
()
{
var
regex
=
/^
\s
*
(?=(?:(?:[
-a-z
]
+
\s
*
){0,2}(
italic|oblique
))?)(?=(?:(?:[
-a-z
]
+
\s
*
){0,2}(
small-caps
))?)(?=(?:(?:[
-a-z
]
+
\s
*
){0,2}(
bold
(?:
er
)?
|lighter|
[
1-9
]
00
))?)(?:(?:
normal|
\1
|
\2
|
\3)\s
*
){0,3}((?:
xx
?
-
)?(?:
small|large
)
|medium|smaller|larger|
[
.
\d]
+
(?:\%
|in|
[
cem
]
m|ex|p
[
ctx
]))(?:\s
*
\/\s
*
(
normal|
[
.
\d]
+
(?:\%
|in|
[
cem
]
m|ex|p
[
ctx
])))?\s
*
([
-,
\"\s
a-z
]
+
?)\s
*$/i
;
var
regex
=
/^
\s
*
(?=(?:(?:[
-a-z
]
+
\s
*
){0,2}(
italic|oblique
))?)(?=(?:(?:[
-a-z
]
+
\s
*
){0,2}(
small-caps
))?)(?=(?:(?:[
-a-z
]
+
\s
*
){0,2}(
bold
(?:
er
)?
|lighter|
[
1-9
]
00
))?)(?:(?:
normal|
\1
|
\2
|
\3)\s
*
){0,3}((?:
xx
?
-
)?(?:
small|large
)
|medium|smaller|larger|
[
.
\d]
+
(?:\%
|in|
[
cem
]
m|ex|p
[
ctx
]))(?:\s
*
\/\s
*
(
normal|
[
.
\d]
+
(?:\%
|in|
[
cem
]
m|ex|p
[
ctx
])))?\s
*
([
-,
\
'\
"\s
a-z
]
+
?)\s
*$/i
;
var
fontPart
=
regex
.
exec
(
this
.
font
);
var
fontPart
=
regex
.
exec
(
this
.
font
);
var
data
=
{
var
data
=
{
style
:
fontPart
[
1
]
||
'
normal
'
,
style
:
fontPart
[
1
]
||
'
normal
'
,
...
@@ -1029,6 +1029,7 @@
...
@@ -1029,6 +1029,7 @@
id
=
randomString
(
this
.
__ids
),
id
=
randomString
(
this
.
__ids
),
newGroup
=
this
.
__createElement
(
"
g
"
);
newGroup
=
this
.
__createElement
(
"
g
"
);
this
.
__applyCurrentDefaultPath
();
group
.
removeChild
(
this
.
__currentElement
);
group
.
removeChild
(
this
.
__currentElement
);
clipPath
.
setAttribute
(
"
id
"
,
id
);
clipPath
.
setAttribute
(
"
id
"
,
id
);
clipPath
.
appendChild
(
this
.
__currentElement
);
clipPath
.
appendChild
(
this
.
__currentElement
);
...
...
js/morpheus-external-latest.min.js
View file @
a11e3e2a
This diff is collapsed.
Click to expand it.
js/morpheus-latest.min.js
View file @
a11e3e2a
This diff is collapsed.
Click to expand it.
js/plotly-latest.min.js
View file @
a11e3e2a
This diff is collapsed.
Click to expand it.
src/tools/chart_tool2.js
View file @
a11e3e2a
...
@@ -236,7 +236,7 @@ morpheus.ChartTool2.getPlotlyDefaults = function () {
...
@@ -236,7 +236,7 @@ morpheus.ChartTool2.getPlotlyDefaults = function () {
margin
:
{
margin
:
{
l
:
80
,
l
:
80
,
r
:
0
,
r
:
0
,
t
:
10
,
t
:
24
,
// leave space for modebar
b
:
14
,
b
:
14
,
autoexpand
:
true
autoexpand
:
true
},
},
...
@@ -270,7 +270,7 @@ morpheus.ChartTool2.getPlotlyDefaults = function () {
...
@@ -270,7 +270,7 @@ morpheus.ChartTool2.getPlotlyDefaults = function () {
displaylogo
:
false
,
displaylogo
:
false
,
staticPlot
:
false
,
staticPlot
:
false
,
showHints
:
true
,
showHints
:
true
,
modeBarButtonsToRemove
:
[
'
sendDataToCloud
'
]
modeBarButtonsToRemove
:
[
'
sendDataToCloud
'
,
'
zoomIn2d
'
,
'
zoomOut2d
'
,
'
hoverCompareCartesian
'
,
'
hoverClosestCartesian
'
]
};
};
return
{
return
{
layout
:
layout
,
layout
:
layout
,
...
...
src/ui/heat_map.js
View file @
a11e3e2a
...
@@ -752,7 +752,7 @@ morpheus.HeatMap.prototype = {
...
@@ -752,7 +752,7 @@ morpheus.HeatMap.prototype = {
color
:
'
red
'
color
:
'
red
'
}]
}]
};
};
}
else
if
(
options
.
filename
.
toLowerCase
().
indexOf
(
'
copynumber
'
)
!==
-
1
)
{
}
else
if
(
options
.
filename
.
toLowerCase
().
indexOf
(
'
copynumber
'
)
!==
-
1
||
options
.
filename
.
toLowerCase
().
indexOf
(
'
copy number
'
)
!==
-
1
)
{
colorScheme
=
{
colorScheme
=
{
type
:
'
fixed
'
,
type
:
'
fixed
'
,
map
:
[{
map
:
[{
...
...
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