Commit 5b458af4 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

default value is undefined (all chromosome)

parent bc48828f
Pipeline #64202 passed with stages
in 2 minutes and 26 seconds
......@@ -9,7 +9,7 @@ import { GenomeScanData, SignificanceThreshold } from "../../types";
export default function () {
function genomeScan(
_selection: d3Selection.Selection<HTMLDivElement, GenomeScanData, any, any>, chromosome?: String
_selection: d3Selection.Selection<HTMLDivElement, GenomeScanData, any, any>, chromosome: String | undefined = undefined
// legendClickCallback: (event: Plotly.LegendClickEvent) => boolean,
// legendDoubleClickCallback: (event: Plotly.LegendClickEvent) => boolean
) {
......@@ -113,7 +113,7 @@ export default function () {
...yaxis,
title: "LOD score",
}
Plotly.react(container, traces, layout, { responsive: true, autosizable: true })
Plotly.react(container, traces, layout, { responsive: true, autosizable: true });
// .then(function (root) {
// root.removeAllListeners('plotly_legendclick')
// root.removeAllListeners('plotly_legenddoubleclick')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment