all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH yew-widget-toolkit/yew-widget-toolkit-assets 0/3] implement pie chart widget
@ 2026-04-08 10:48 Dominik Csapak
  2026-04-08 10:48 ` [PATCH yew-widget-toolkit-assets 1/1] add helper class for pie chart Dominik Csapak
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Dominik Csapak @ 2026-04-08 10:48 UTC (permalink / raw)
  To: yew-devel

Implements a (more or less) fully featured Pie/Donut/Gauge chart.

In PDM we probably won't use it as a pie/donut chart for now, but it
wasn't too hard to implement the remaining features and wanted to get
some comments and opinions on it, so sending it as RFC for now.

(There are some things we could more neatly visualize with a pie/donut
chart if we want to, so I believe it makes sense to have such a widget)

changes from rfc:
* solve the legend colors with css variables instead of a new button property

yew-widget-toolkit-assets:

Dominik Csapak (1):
  add helper class for pie chart

 scss/_charts.scss     | 10 ++++++++++
 scss/_theme_post.scss |  1 +
 2 files changed, 11 insertions(+)
 create mode 100644 scss/_charts.scss


yew-widget-toolkit:

Dominik Csapak (2):
  macros: widget: impl WidgetStyleBuilder for svgs
  add pie chart widget

 pwt-macros/src/widget.rs |  25 +-
 src/widget/charts/mod.rs |   4 +
 src/widget/charts/pie.rs | 552 +++++++++++++++++++++++++++++++++++++++
 src/widget/mod.rs        |   2 +
 4 files changed, 572 insertions(+), 11 deletions(-)
 create mode 100644 src/widget/charts/mod.rs
 create mode 100644 src/widget/charts/pie.rs


Summary over all repositories:
  6 files changed, 583 insertions(+), 11 deletions(-)

-- 
Generated by git-murpp 0.8.1




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-04-09 11:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-08 10:48 [PATCH yew-widget-toolkit/yew-widget-toolkit-assets 0/3] implement pie chart widget Dominik Csapak
2026-04-08 10:48 ` [PATCH yew-widget-toolkit-assets 1/1] add helper class for pie chart Dominik Csapak
2026-04-08 10:48 ` [PATCH yew-widget-toolkit 1/2] macros: widget: impl WidgetStyleBuilder for svgs Dominik Csapak
2026-04-08 10:48 ` [PATCH yew-widget-toolkit 2/2] add pie chart widget Dominik Csapak
2026-04-09 11:39 ` applied: [PATCH yew-widget-toolkit/yew-widget-toolkit-assets 0/3] implement " Dietmar Maurer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal