mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Show percentages in metrics bar.
This commit is contained in:
parent
b7a7d4de4d
commit
8b304b7ca2
3 changed files with 24 additions and 17 deletions
|
|
@ -46,7 +46,7 @@ export function PageviewsChart({ data, unit, isLoading, ...props }: PageviewsCha
|
|||
? [
|
||||
{
|
||||
type: 'line',
|
||||
label: `${formatMessage(labels.visits)} (${formatMessage(labels.previous)})`,
|
||||
label: `${formatMessage(labels.views)} (${formatMessage(labels.previous)})`,
|
||||
data: data.compare.pageviews,
|
||||
borderWidth: 2,
|
||||
backgroundColor: '#8601B0',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue