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