Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[APM]
Time spent by span type
chart rendering problems (elastic#202755
) Closes elastic#202343 ## Summary This PR solves the following issues in `Time spent by span type` chart: - limits percentages between 0% and 100% (converts negative values to 0%), before: <img width="1134" alt="Screenshot 2024-12-04 at 15 28 18" src="https://github.com/user-attachments/assets/73285e87-3aef-4b2d-8e2a-7e3ec87680f3"> after: <img width="1135" alt="Screenshot 2024-12-04 at 15 30 25" src="https://github.com/user-attachments/assets/ae25cb85-d31a-490a-96c7-d4475952c734"> --- - rounds percentage to 8 decimal points to prevent scientific notation in charts (poor readability) before: <img width="1132" alt="Screenshot 2024-12-04 at 14 36 54" src="https://github.com/user-attachments/assets/528cda4b-ae84-4dbd-9d3f-88896e63a369"> after: <img width="1132" alt="Screenshot 2024-12-04 at 14 35 39" src="https://github.com/user-attachments/assets/9a0bdce9-6d66-4aaf-a131-18644eab1892">
- Loading branch information