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

Add breaks and labels size equality check in breaksLabeled() #416

Open
AndreiKingsley opened this issue Jul 30, 2024 · 0 comments
Open

Add breaks and labels size equality check in breaksLabeled() #416

AndreiKingsley opened this issue Jul 30, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers lets-plot API and implementation for lets-plot

Comments

@AndreiKingsley
Copy link
Collaborator

AndreiKingsley commented Jul 30, 2024

Check if sizes of breaks and labels provided in breaksLabeled() are equal and throw an error if they are not.

https://github.com/Kotlin/kandy/blob/main/kandy-lets-plot/src/main/kotlin/org/jetbrains/kotlinx/kandy/letsplot/scales/guide/model/LetsPlotAxis.kt
https://github.com/Kotlin/kandy/blob/main/kandy-lets-plot/src/main/kotlin/org/jetbrains/kotlinx/kandy/letsplot/scales/guide/model/LetsPlotLegend.kt

@AndreiKingsley AndreiKingsley added enhancement New feature or request good first issue Good for newcomers lets-plot API and implementation for lets-plot labels Jul 30, 2024
@Kotlin Kotlin deleted a comment from devcrocod Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers lets-plot API and implementation for lets-plot
Projects
None yet
Development

No branches or pull requests

1 participant