PolarGraphScope

Scope for plot series content placed on a PolarGraph.

Properties

Link copied to clipboard

Provides the AngularAxisModel for the plot to scale coordinates.

Link copied to clipboard

Provides the FloatRadialAxisModel for the plot to scale coordinates.

Functions

Link copied to clipboard
abstract fun Modifier.hoverableElement(element: @Composable () -> Unit): Modifier
Link copied to clipboard
fun <T> PolarGraphScope<T>.PolarPlotSeries(data: List<PolarPoint<Float, T>>, modifier: Modifier = Modifier, lineStyle: LineStyle? = null, areaStyle: AreaStyle? = null, symbols: @Composable HoverableElementAreaScope.(PolarPoint<Float, T>) -> Unit? = null, animationSpec: AnimationSpec<Float> = KoalaPlotTheme.animationSpec)

Plots a series on a PolarGraph.

Link copied to clipboard
abstract fun polarToCartesian(point: PolarPoint<Float, T>, size: Size): Offset

Transforms the provided point from polar plot axis coordinates to cartesian coordinates for on-screen drawing, provided a size of the drawing area.