From 65a9c5c0096802295732fd06bae7386e4d223576 Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Mon, 19 Dec 2016 20:26:00 +0100 Subject: [PATCH] #28 start with minimap --- package.json | 2 ++ src/MiniMap.ts | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 src/MiniMap.ts diff --git a/package.json b/package.json index 678d8ee..87ee959 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ "dependencies": { "@types/d3-array": "^1.0.5", "@types/d3-axis": "^1.0.5", + "@types/d3-brush": "^1.0.6", "@types/d3-drag": "^1.0.5", "@types/d3-polygon": "^1.0.4", "@types/d3-quadtree": "^1.0.4", @@ -82,6 +83,7 @@ "@types/d3-zoom": "^1.0.5", "d3-array": "^1.0.1", "d3-axis": "^1.0.3", + "d3-brush": "^1.0.3", "d3-drag": "^1.0.1", "d3-polygon": "^1.0.1", "d3-quadtree": "^1.0.1", diff --git a/src/MiniMap.ts b/src/MiniMap.ts new file mode 100644 index 0000000..d07e486 --- /dev/null +++ b/src/MiniMap.ts @@ -0,0 +1,15 @@ +/** + * Created by sam on 19.12.2016. + */ + +import Scatterplot from './Scatterplot'; + +export default class MiniMap { + constructor(private parent: HTMLElement, private plot: Scatterplot) { + + } + + private build() { + + } +}