Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: ChartSeries

[12:7] extends: FxObj

Aussom helper class representing a named data series used when building XY chart data for JavaFX charts. Each ChartSeries wraps a JavaFX XYChart.Series and accepts individual data points added via addPoint(). The companion PieSlice class wraps a single labeled value used to build the slice data for a PieChart.

Methods

  • ChartSeries (string Name = "")

    Creates a new XY chart data series with an optional name.

    • @p Name is a string with the series name, or empty for an unnamed series.
  • addPoint (X, Y)

    Adds a data point to the series.

    • @p X is the X value.
    • @p Y is the Y value.
    • @r this object for chaining

class: PieSlice

[41:7] extends: FxObj

Represents a single slice in a PieChart.

Methods

  • PieSlice (string Name, double Value)

    Creates a new pie chart data slice with a label and numeric value.

    • @p Name is a string with the slice label.
    • @p Value is a double with the numeric value of the slice.