зеркало из https://github.com/microsoft/SandDance.git
compare to quantitativeColumns.length * 4
This commit is contained in:
Родитель
ad938f7f81
Коммит
da721a6b2a
|
@ -49,7 +49,7 @@ function _BackgroundImageEditor(_props: Props) {
|
|||
const xCol = quantitativeColumns.filter(c => c.name === insightColumns.x)[0];
|
||||
const yCol = quantitativeColumns.filter(c => c.name === insightColumns.y)[0];
|
||||
let backgroundImageColumnBounds: BackgroundImageColumnBound[];
|
||||
if (!explorer.imageHolder.backgroundImageColumnBounds.length) {
|
||||
if (explorer.imageHolder.backgroundImageColumnBounds.length < quantitativeColumns.length * 4) {
|
||||
backgroundImageColumnBounds = getBackgroundImageColumnBounds(explorer.state.dataContent.columns);
|
||||
} else {
|
||||
backgroundImageColumnBounds = SandDance.VegaMorphCharts.util.clone(explorer.imageHolder.backgroundImageColumnBounds);
|
||||
|
|
Загрузка…
Ссылка в новой задаче