tornadofx / tornadofx / javafx.scene.chart.XYChart.Series

Extensions for javafx.scene.chart.XYChart.Series

data fun <X, Y> Series<X, Y>.data(x: X, y: Y, extra: Any? = null, op: Data<X, Y>.() -> Unit = {}): <ERROR CLASS>

Add and create a XYChart.Data entry with x, y and optional extra value. The optional op will be performed on the data instance, a good place to add event handlers to the Data.node for example.