mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
Added hooks for website stats and pageviews.
This commit is contained in:
parent
f50067e44f
commit
7ab580c709
5 changed files with 74 additions and 61 deletions
|
|
@ -136,10 +136,7 @@ export function BarChart({
|
|||
const updateChart = () => {
|
||||
setTooltipPopup(null);
|
||||
|
||||
datasets.forEach((dataset, index) => {
|
||||
chart.current.data.datasets[index].data = dataset.data;
|
||||
chart.current.data.datasets[index].label = dataset.label;
|
||||
});
|
||||
chart.current.data.datasets = datasets;
|
||||
|
||||
chart.current.options = getOptions();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue