diff --git a/pages/statistics/statistics.pixy b/pages/statistics/statistics.pixy index e4697f06..bc5d8c17 100644 --- a/pages/statistics/statistics.pixy +++ b/pages/statistics/statistics.pixy @@ -25,6 +25,6 @@ component StatisticsHeader component PieChart(slices []*arn.PieChartSlice) svg.pie-chart(viewBox="-1.1 -1.1 2.2 2.2") each slice in slices - g + g.slice title= slice.Title - path.slice(d=utils.SVGSlicePath(slice.From, slice.To), fill=slice.Color) \ No newline at end of file + path(d=utils.SVGSlicePath(slice.From, slice.To), fill=slice.Color) \ No newline at end of file diff --git a/pages/statistics/statistics.scarlet b/pages/statistics/statistics.scarlet index 1e6a76da..60ed55c4 100644 --- a/pages/statistics/statistics.scarlet +++ b/pages/statistics/statistics.scarlet @@ -13,5 +13,6 @@ .slice color black default-transition + :hover transform scale(1.05) \ No newline at end of file