Add `DataColumn` API for breaks in `Legend`/`Axis`
Add new breaks (an analogue for all existing function) with DatColumn argument for passing breaks for axis and legend:
fun breaks(breaks: DataColumn<DomainType>, format: String? = null)
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 A common case:
legends {
breaks(column.distinct())
}
Please provide detailed instructions on how to complete this task
Add breaks(DataColumn) function with the same logic.
Hey, i would like to work on this task