Commit e438a1b0 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Rename type GlobalAxisData -> BrushableAxisData

parent 8f5dd64a
import { ScaleLinear } from "d3-scale";
export type Strand = "+" | "-";
export interface GeneData {
......@@ -26,8 +27,11 @@ export interface GenericAxisData {
interval: [number, number]
}
export interface GlobalAxisData extends GenericAxisData {
window: [number, number]
export interface BrushableAxisData extends GenericAxisData {
window: [number, number],
eventHandler?: {
brushed: (scale: ScaleLinear<number, number>) => void
}
}
......@@ -44,7 +48,7 @@ export interface GenomeBrowserData {
genes: GeneData[]
},
axis: {
global: GlobalAxisData,
global: BrushableAxisData,
chromosome: GenericAxisData
}
......
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