Skip to content

Commit

Permalink
Update plot titles, intro arrows, bump vdp version
Browse files Browse the repository at this point in the history
  • Loading branch information
keller-mark committed Nov 14, 2018
1 parent 6f6389e commit f7dc340
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 45 deletions.
41 changes: 13 additions & 28 deletions src/components/ExplorerMain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,20 @@
<PlotContainer
:pWidth="(colWidth-150-5)"
:pHeight="200"
:pMarginTop="5"
:pMarginTop="130"
:pMarginLeft="150"
:pMarginRight="5"
:pMarginBottom="150"
:pMarginBottom="5"
>
<Axis
slot="axisTop"
variable="sample_id"
side="top"
:tickRotation="-65"
:maxCharacters="4"
:getScale="getScale"
:getStack="getStack"
/>
<Axis
slot="axisLeft"
variable="mut_count_sum"
Expand All @@ -33,14 +42,7 @@
:getData="getData"
:getScale="getScale"
/>
<Axis
slot="axisBottom"
variable="sample_id"
side="bottom"
:tickRotation="-65"
:getScale="getScale"
:getStack="getStack"
/>

</PlotContainer>

<!-- Exposures -->
Expand Down Expand Up @@ -185,7 +187,7 @@
:pMarginTop="10"
:pMarginLeft="150"
:pMarginRight="5"
:pMarginBottom="0"
:pMarginBottom="5"
>
<Axis
slot="axisLeft"
Expand All @@ -205,23 +207,6 @@
/>
</PlotContainer>

<PlotContainer
:pWidth="(colWidth-150-5)"
:pHeight="0"
:pMarginTop="0"
:pMarginLeft="150"
:pMarginRight="5"
:pMarginBottom="150"
>
<Axis
slot="axisBottom"
variable="sample_id"
side="bottom"
:tickRotation="-65"
:getScale="getScale"
:getStack="getStack"
/>
</PlotContainer>

<!-- Meta -->
<div v-if="showMeta">
Expand Down
11 changes: 6 additions & 5 deletions src/components/Intro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<div class="intro-figure">
<span id="arrow1" class="arrow"></span>
<span id="arrow2" class="arrow"></span>

<span id="text1" class="text"><span class="bubble">1</span>Select signatures</span>
<span id="text2" class="text"><span class="bubble">2</span>Select samples</span>
</div>
Expand Down Expand Up @@ -104,28 +105,28 @@ export default {
}
}
#arrow1 {
right: 8.5rem;
right: 17.8rem;
&:before {
height: 100px;
}
&:after {
top: 117px;
width: 7rem;
width: 1.3rem;
}
}
#arrow2 {
right: 1.3rem;
right: 10.8rem;
&:before {
height: 164px;
}
&:after {
top: 181px;
width: 13rem;
width: 7.1rem;
}
}
.text {
display: inline-block;
right: 17.2rem;
right: 20.2rem;
border: 0px solid black;
position: absolute;
text-align: right;
Expand Down
14 changes: 5 additions & 9 deletions src/components/PlotInfo.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<template>
<div>
<div class="plot-info">
<h4 class="plot-info-title">{{ title }}</h4>
<button @click="modalVisible = true">?</button>
</div>

Expand Down Expand Up @@ -42,17 +41,14 @@ export default {
@import './../style/modal.scss';
.plot-info {
width: 95%;
margin-left: 2.5%;
width: 100%;
margin-bottom: 5px;
padding: 5px;
text-align: center;
h4 {
display: inline-block;
margin: 0;
}
z-index: 3;
position: relative;
button {
float: right;
float: left;
margin-left: 15px;
background-color: $color-gray;
border: none;
color: white;
Expand Down
2 changes: 1 addition & 1 deletion src/style/modal.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.modal-background {
z-index: 1;
z-index: 4;
top: 0;
left: 0;
position: fixed;
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8243,8 +8243,8 @@ [email protected]:
indexof "0.0.1"

vue-declarative-plots@^1.0.0:
version "1.2.9"
resolved "https://registry.yarnpkg.com/vue-declarative-plots/-/vue-declarative-plots-1.2.9.tgz#feef8c1d5919ab5806ab82e332c9c20141abbff1"
version "1.2.10"
resolved "https://registry.yarnpkg.com/vue-declarative-plots/-/vue-declarative-plots-1.2.10.tgz#eaf8a2e19b9faacb17df61920c657f56c0475362"
dependencies:
colorjoe "^4.1.0"
d3 "^5.7.0"
Expand Down

0 comments on commit f7dc340

Please sign in to comment.