Skip to content

[webgui] Provide native TPie support#20316

Merged
linev merged 4 commits intoroot-project:masterfrom
linev:improve_pie_handling
Nov 7, 2025
Merged

[webgui] Provide native TPie support#20316
linev merged 4 commits intoroot-project:masterfrom
linev:improve_pie_handling

Conversation

@linev
Copy link
Member

@linev linev commented Nov 7, 2025

  1. JSROOT implements now own drawing, including 3d mode
  2. JSROOT provide full interactivity with moving, rotation and context menu for all slices
  3. TWebCanvas will use native JSROOT rendering for TPie
  4. Adjust stressGraphics_web.ref file while produced SVG/PDF files are smaller now

Also modify TPie::SavePrimitive - use TPad::Add method to avoid pad painting when objects are saved to macro

linev added 4 commits November 7, 2025 08:26
While TPie::Draw method causes gPad->Update(),
used gPad->Add(pie) in saved script.
All relevant pad settings will be stored before
Provide new TPie rendering with
full interactivity. To be improved later
Now it uses native JSROOT rendering, which is smaller compare with ROOT way of drawing
@linev linev self-assigned this Nov 7, 2025
@linev linev requested a review from couet as a code owner November 7, 2025 07:34
@linev linev requested a review from dpiparo as a code owner November 7, 2025 07:34
@linev linev merged commit 512f1bd into root-project:master Nov 7, 2025
23 of 30 checks passed
@linev linev deleted the improve_pie_handling branch November 7, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants