Hi,
the CaptainCasa RADIAL component is similar - but not the same
One easy way to overcome is:
1. Render the pie chart server side as SVG image.
2. Embed the SVG image as IMAGE into the dialog, use e.g. TempFileManager of BufferedContentMgr to make it available as URL.
3. Use OVERLAYAREA component to draw text in front of image.
Code:
ROW
OVERLAYAREA
OVERLAYREABASEITEM
IMAGE image="...reference to the dynamically generated image..."
OVERLAYREAITEM bloundsanchor=centermidde x=50% y=50% z=10
PANE
ROW
LABEL
ROW
LABEL
For creating the server side SVG I cannot name a library, but there must be one somewhere. Or you directly write the SVG on your own... ;-)
Kind regards! Björn