Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Condense code for maximum label size in summary plots into one function #2445

Open
creilly8 opened this issue Dec 2, 2024 · 0 comments
Open
Labels
good first issue Good for newcomers

Comments

@creilly8
Copy link
Contributor

creilly8 commented Dec 2, 2024

The barchart, violin, and boxplot use duplicate versions of client/plots/boxplot/viewModel/MaxLabelLength.ts to calculate the max pixel length for the label div. Condense the code into one reusable function and replace duplicate code with imported function.

@creilly8 creilly8 added the good first issue Good for newcomers label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant