Commit 934f7721 authored by Remi  PLANEL's avatar Remi PLANEL

Change type genomeAxis. Expect a SVGGElement

parent 49cb2080
......@@ -105,7 +105,7 @@ export default function () {
.call(brush.move, [genomicToPx(_data.window[0]), genomicToPx(_data.window[1])]);
globalAxisUpdate
.select<SVGElement>("." + htmlClassName.genericRule)
.select<SVGGElement>("." + htmlClassName.genericRule)
.datum((d: BrushableAxisData): GenericAxisData => ({ title: d.title, interval: [d.interval[0], d.interval[1]] }))
.call(genomeAxisComponent, width, yPosition);
......
......@@ -11,7 +11,7 @@ export default function () {
.range([0, 0])
function genomeAxis(
_selection: Selection<SVGElement, GenericAxisData, SVGElement, any>,
_selection: Selection<SVGGElement, GenericAxisData, SVGElement, any>,
width: number,
yPosition: number = 0
) {
......
Markdown is supported
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