Fix donut chart using h instead of %
This commit is contained in:
parent
f6d1f167f5
commit
dc4efbea58
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ const TOKEN = import.meta.env.PUBLIC_ACCESS_TOKEN || '';
|
||||||
colors: ['#22c55e', '#3b82f6'],
|
colors: ['#22c55e', '#3b82f6'],
|
||||||
fill: { type: 'solid', opacity: 0.9 },
|
fill: { type: 'solid', opacity: 0.9 },
|
||||||
legend: { position: 'bottom', labels: { colors: '#a0a0b8' } },
|
legend: { position: 'bottom', labels: { colors: '#a0a0b8' } },
|
||||||
dataLabels: { formatter: function(val) { return val.toFixed(1) + 'h'; } },
|
dataLabels: { formatter: function(val) { return val.toFixed(1) + '%'; } },
|
||||||
stroke: { width: 2, colors: ['#0d0d1a'] },
|
stroke: { width: 2, colors: ['#0d0d1a'] },
|
||||||
tooltip: { formatter: function(val) { return formatDuration(val / 100 * (issuesTotal + prsTotal)); } }
|
tooltip: { formatter: function(val) { return formatDuration(val / 100 * (issuesTotal + prsTotal)); } }
|
||||||
}).render();
|
}).render();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue