Previous fix (https://github.com/apache/incubator-superset/pull/5839) was 
incorrect. 
It only works for slices that spans 1-2 columns, but compute less width than it 
should be for the slices than span >2 columns. 

The previous formula did not take `GRID_GUTTER_SIZE` into account. A slice with 
`n` columns also contains `n-1` gutter. 

The formula for width is updated to 
```js
widthMultiple * columnWidth + (widthMultiple - 1) * GRID_GUTTER_SIZE - 
CHART_MARGIN
```

@john-bodley @graceguo-supercat 


[ Full content available at: 
https://github.com/apache/incubator-superset/pull/5867 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to