Merge branch 'develop' of github.com:mermaid-js/mermaid into develop

This commit is contained in:
Knut Sveidqvist
2020-12-17 20:50:41 +01:00
2 changed files with 4 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ export const draw = (txt, id) => {
// Use the centroid method to get the best coordinates.
svg
.selectAll('mySlices')
.data(dataReady)
.data(dataReady.filter(value => value.data.value !== 0))
.enter()
.append('text')
.text(function(d) {