Skip to content

Commit d6fbe6d

Browse files
authored
Merge pull request #1 from CEGRcode/fasta-y-axis
Set FASTA plot Y Axis max to 1
2 parents d8ac9ac + a73615d commit d6fbe6d

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

frontend/src/Components/FastaComposite.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class FastaComposite extends React.Component {
5656
yScale: {
5757
type: "linear",
5858
stacked: false,
59-
max: 1.5
59+
max: 1
6060
},
6161
markers: [
6262
{
@@ -79,6 +79,9 @@ class FastaComposite extends React.Component {
7979
}
8080
}
8181
],
82+
// gridYValues: {
83+
// [0,0.2,0.4,0.6,0.8,1]
84+
// },
8285
axisBottom: {
8386
orient: "bottom",
8487
tickSize: 5,
@@ -88,7 +91,9 @@ class FastaComposite extends React.Component {
8891
legendOffset: 46,
8992
legendPosition: "middle"
9093
},
91-
axisLeft: {},
94+
axisLeft: {
95+
tickValues: 5
96+
},
9297
theme: {
9398
fontSize: 14,
9499
fontFamily: "Roboto Slab",

0 commit comments

Comments
 (0)