Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine how the ColumnNullPercent component is painted (#4295)
This PR addresses #2861 and #4291 by refining how the `ColumnNullPercent` component is painted. Now, when the column null percent is 100% or 0%, the graph is painted at 100% red or 0% red: ![image](https://github.com/user-attachments/assets/f469e5f7-4698-4efd-b3d4-74859afe81ec) When the column null percent is less than 5%, the graph is painted at 5% so that it registers properly: ![image](https://github.com/user-attachments/assets/20ffe522-3be9-432f-976e-14c5375b4830) Similarly, when the column null percent is greater than 95%, the graph is painted at 95% so that it registers properly: ![image](https://github.com/user-attachments/assets/b85ba64f-ee32-4aca-8af2-d93940c18305) Finally, as can be seen in the screen shots above, the graph is now clipped to prevent it from bleeding outside its bounds (which was happening, here's how that used to look): ![image](https://github.com/user-attachments/assets/e1a6a3a0-acf2-413f-b5bd-7275f182f836)
- Loading branch information