mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-30 07:58:11 +08:00
[WIP DO NOT MERGE] correctly display graph legend for negative continuous metadata (#620)
correctly display graph legend for negative continuous metadata
This commit is contained in:
@@ -146,7 +146,7 @@ class HistogramBrush extends React.Component {
|
||||
dispatch({
|
||||
type: "color by continuous metadata",
|
||||
colorAccessor: field,
|
||||
rangeMaxForColorAccessor: ranges.max
|
||||
rangeForColorAccessor: ranges
|
||||
});
|
||||
} else if (world.varData.hasCol(field)) {
|
||||
dispatch(actions.requestSingleGeneExpressionCountsForColoringPOST(field));
|
||||
|
||||
@@ -33,7 +33,7 @@ class Continuous extends React.Component {
|
||||
dispatch({
|
||||
type: "color by continuous metadata",
|
||||
colorAccessor: key,
|
||||
rangeMaxForColorAccessor: summary.max
|
||||
rangeForColorAccessor: summary
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user