Package-level declarations

Types

Link copied to clipboard
data class Point<out T>(val x: Float, val y: Float, val isInRendererSpace: Boolean, val data: T)

Data to be represented by the chart.

Link copied to clipboard
class Series(data: List<Point<*>>) : List<Point<*>>

Series of data to be represented by the io.github.staakk.cchart.Chart

Link copied to clipboard
data class Viewport(val minX: Float, val maxX: Float, val minY: Float, val maxY: Float)

Specifies bounds for rendering of the chart. Those values should be represented in the same space as the data provided for the chart.

Functions

Link copied to clipboard
Link copied to clipboard
fun seriesOf(vararg data: Point<*>): Series
fun seriesOf(vararg data: Pair<Number, Number>): Series