-
-
Save Noxville/9e9c698148befebc8960abcff5d1094e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
datasets: [ | |
<g:each in="${data.entrySet().sort { data.get(it.key).get(lastDate).rating }.reverse()}" var="te" status="teamEntryIndex"> | |
{ | |
data: [ | |
<g:each in="${dR}" var="d" status="dateIndex"> | |
<g:if test="${te.value.get(d)?.rating}"> | |
<g:formatNumber number="${te.value.get(d)?.rating}" format="0.00"/> | |
</g:if> | |
<g:if test="${dateIndex != dR.size() - 1}">,</g:if> | |
</g:each> | |
], | |
fill: false, | |
label: '${te.key.name}' | |
, | |
borderColor: colors[${teamEntryIndex}], | |
backgroundColor: colors[${teamEntryIndex}], | |
borderWidth: 1 | |
} | |
<g:if test="${teamEntryIndex != data.entrySet().size() - 1}">,</g:if> | |
</g:each> | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment