all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [RFC PATCH yew-widget-toolkit 0/3] implement pie chart widget
@ 2026-03-20 16:03 Dominik Csapak
  2026-03-20 16:03 ` [RFC PATCH yew-widget-toolkit 1/3] widget: button: add 'icon_style' property Dominik Csapak
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dominik Csapak @ 2026-03-20 16:03 UTC (permalink / raw)
  To: yew-devel

I'm currently working on adding more dashboard elements to PDM, and I
wanted to add some gauge charts. While doing this, I made it more
generic and it's now 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)

Dominik Csapak (3):
  widget: button: add 'icon_style' property
  macros: widget: impl WidgetStyleBuilder for svgs
  add pie chart widget

 pwt-macros/src/widget.rs |  25 +-
 src/widget/button.rs     |   8 +-
 src/widget/charts/mod.rs |   4 +
 src/widget/charts/pie.rs | 547 +++++++++++++++++++++++++++++++++++++++
 src/widget/mod.rs        |   2 +
 5 files changed, 574 insertions(+), 12 deletions(-)
 create mode 100644 src/widget/charts/mod.rs
 create mode 100644 src/widget/charts/pie.rs

-- 
2.47.3





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

end of thread, other threads:[~2026-03-20 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-20 16:03 [RFC PATCH yew-widget-toolkit 0/3] implement pie chart widget Dominik Csapak
2026-03-20 16:03 ` [RFC PATCH yew-widget-toolkit 1/3] widget: button: add 'icon_style' property Dominik Csapak
2026-03-20 16:03 ` [RFC PATCH yew-widget-toolkit 2/3] macros: widget: impl WidgetStyleBuilder for svgs Dominik Csapak
2026-03-20 16:04 ` [RFC PATCH yew-widget-toolkit 3/3] add pie chart widget Dominik Csapak

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