Template:MotifActivitiesInMaraPhase1 mm9: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
< | <table class="wikitable mw-collapsible mw-collapsed"> | ||
<tr><th scope="col">Chart</th></tr> | |||
<div id="chartmm9" style="height:300px;"></div><br> | <tr><td> | ||
<div id="chartmm9" style="height:300px;width:800px"></div><br> | |||
Sample of clicked point: <span id="samplemm9"></span> | Sample of clicked point: <span id="samplemm9"></span> | ||
</td></tr> | |||
</table> | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 21: | Line 23: | ||
$.plot($("#chartmm9"), [{ | $.plot($("#chartmm9"), [{ | ||
data: dataset, | data: dataset, | ||
color: " | color: "#0080ff", | ||
constraints: [{threshold: 0, color: "#ff5555", evaluate : function(y,threshold){ return y < threshold; }}] | |||
}], { | }], { | ||
xaxis: { tickDecimals: 0, show: false }, | xaxis: { tickDecimals: 0, show: false }, | ||
yaxis: { axisLabel: 'Z-value' }, | |||
grid: { hoverable: true, clickable: true }, | grid: { hoverable: true, clickable: true }, | ||
}); | }); | ||
Line 58: | Line 63: | ||
showTooltip(item.pageX, item.pageY, | showTooltip(item.pageX, item.pageY, | ||
"Sample: "+series[x]+"<br>Z- | "Sample: "+series[x]+"<br>Z-value: "+y); | ||
} | } | ||
} | } |
Latest revision as of 12:59, 2 April 2012
Chart |
---|
Sample of clicked point: |