Template:Team:UC Davis/KO3D
From 2013.igem.org
(Difference between revisions)
Line 255: | Line 255: | ||
var dataMax = $('#mutantwidget .dataMax'); | var dataMax = $('#mutantwidget .dataMax'); | ||
- | if (dataMax == 0) | + | if (dataMax.length == 0) |
- | { dataMax = | + | { dataMax = 6000; } |
mutantcolors = ["white", "#ff6666", "yellow", "#66ff66", "#66ffff", "#ddaaff", "pink"]; | mutantcolors = ["white", "#ff6666", "yellow", "#66ff66", "#66ffff", "#ddaaff", "pink"]; | ||
Line 485: | Line 485: | ||
{ | { | ||
xaxis: {max:10, min:0}, | xaxis: {max:10, min:0}, | ||
- | yaxis: {max: | + | yaxis: {max:5000, min:0}, |
grid: { }, | grid: { }, | ||
}); | }); | ||
Line 517: | Line 517: | ||
} | } | ||
); | ); | ||
- | axisdimensions = [0, 1, 0, 10, 0, | + | axisdimensions = [0, 1, 0, 10, 0, dataMax]; |
var numxpoints = 30; | var numxpoints = 30; | ||
var numypoints = 30; | var numypoints = 30; |
Revision as of 07:20, 26 October 2013