LineEditor

interface LineEditor

Editor for a chart Line series and its points.

Properties

Link copied to clipboard
abstract val line: Line

Underlying series model.

Functions

Link copied to clipboard
abstract fun add(): PointEditor

Add a new point to the series and return its editor.

Link copied to clipboard
abstract fun description(): String?

Current series description.

abstract fun description(value: String?)

Set series description.

Link copied to clipboard
abstract fun find(key: String): PointEditor?

Find a point editor by key (id).

Link copied to clipboard
abstract fun point(p: Point): PointEditor

Create an editor for the given Point.

Link copied to clipboard
abstract fun points(): List<PointEditor>

All point editors in this series.

Link copied to clipboard
abstract fun remove(key: String): Point?

Remove a point by key and return the removed Point (if any).

Link copied to clipboard
abstract fun title(): String

Current series title.

abstract fun title(value: String)

Set series title.