GraphUtil

object GraphUtil

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun createPath(telemetries: List<<Error class: unknown class>>, index: Int, path: Path, oldestTime: Int, timeRange: Int, width: Float, timeThreshold: Long, calculateY: (Int) -> Float): Int

Creates a Path that could be used to draw a line from the index to the end of telemetries or the last point before a time separation between Telemetrys.

Link copied to clipboard
fun DrawScope.drawPathWithGradient(path: Path, color: Color, height: Float, x1: Float, x2: Float)
Link copied to clipboard
fun plotPoint(drawContext: DrawContext, color: Color, x: Float, value: Float, divisor: Float)