Continuous data in right sidebar (#985)

* Create right sidebar files, move histos over

* restructure continuous legend + all padding

* right sidebar file

* proper graph positioning and resize

* new lasso values since right sidebar

* fix autosave position
This commit is contained in:
Colin Megill
2019-11-05 20:29:21 -05:00
committed by GitHub
parent 461084eca1
commit 4c3d783fc8
11 changed files with 86 additions and 38 deletions
@@ -3,6 +3,7 @@ import React from "react";
import { connect } from "react-redux";
import * as d3 from "d3";
import { interpolateCool } from "d3-scale-chromatic";
import * as globals from "../../globals";
// create continuous color legend
// http://bl.ocks.org/syntagmatic/e8ccca52559796be775553b467593a9f
@@ -142,7 +143,7 @@ class ContinuousLegend extends React.Component {
style={{
position: "fixed",
display: colorAccessor ? "inherit" : "none",
right: 0,
right: globals.leftSidebarWidth,
top: responsive.height / 2
}}
/>