Do not add variables into filenames as they don't overwrite then

This commit is contained in:
pietervdvn 2021-08-26 11:48:25 +02:00
parent d29302ca84
commit b2935c6eba

View file

@ -571,12 +571,12 @@ function createGraphs(allFeatures: ChangeSetData[], appliedFilterDescription: st
}) })
const total = new Set(allFeatures.map(f => f.properties.user)).size const total = new Set(allFeatures.map(f => f.properties.user)).size
createGraph( createGraph(
`Contributors per day${appliedFilterDescription} (${total} total contributors)`, `Contributors per day${appliedFilterDescription}`,
contributorCountPerDay contributorCountPerDay
.asHist(true) .asHist(true)
.keyToDate(true) .keyToDate(true)
.asBar({ .asBar({
name: "Unique contributors per day" name: `Unique contributors per day (${total} total)`
}), }),
newContributorsPerDay newContributorsPerDay
.asHist(true) .asHist(true)