1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-07 19:05:22 +02:00

Set heatmap color range configurable (#5165)

This commit is contained in:
Antoine GIRARD 2018-10-24 16:38:04 +02:00 committed by Jonas Franz
parent 7e5eec430d
commit ffd5fb8139
4 changed files with 8 additions and 1 deletions

View file

@ -65,7 +65,7 @@
var heatmap = calendarHeatmap()
.data(chartData)
.selector('#user-heatmap')
.colorRange(['#f4f4f4', '#459928'])
.colorRange({{SafeJS HeatmapColorRange}})
.tooltipEnabled(true);
heatmap();
});