mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-06 10:48:12 +08:00
no overlap
This commit is contained in:
@@ -24,11 +24,12 @@ const Dot = (props) => {
|
|||||||
); /* SUM REMAINING ELEMENTS */
|
); /* SUM REMAINING ELEMENTS */
|
||||||
|
|
||||||
/* TODO(colinmegill) #632 scale between correct dimensions */
|
/* TODO(colinmegill) #632 scale between correct dimensions */
|
||||||
const paddingEquivalentToRowColumnIndexOffset = 0;
|
const paddingEquivalentToRowColumnIndexOffset = 8;
|
||||||
const dotscale = d3
|
const dotscale = d3
|
||||||
.scaleLinear()
|
.scaleLinear()
|
||||||
.domain([0, 1])
|
.domain([0, 1])
|
||||||
.range([0, rowColumnSize - paddingEquivalentToRowColumnIndexOffset]);
|
.range([0, rowColumnSize - paddingEquivalentToRowColumnIndexOffset]);
|
||||||
|
|
||||||
const _radius = dotscale(expressing / totalCells);
|
const _radius = dotscale(expressing / totalCells);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user