We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e12b3b commit cc6a173Copy full SHA for cc6a173
1 file changed
superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Contour/Contour.tsx
@@ -176,8 +176,7 @@ export const getLayer: GetLayerType<ContourLayer> = function ({
176
const viewport = fd.viewport;
177
if (viewport?.width && viewport?.height) {
178
const estimatedCells =
179
- (viewport.width / safeCellSize) *
180
- (viewport.height / safeCellSize);
+ (viewport.width / safeCellSize) * (viewport.height / safeCellSize);
181
182
if (estimatedCells > MAX_GRID_CELLS) {
183
const scaleFactor = Math.sqrt(estimatedCells / MAX_GRID_CELLS);
0 commit comments