Class HistogramChart

All Implemented Interfaces:
Styleable, EventTarget

public class HistogramChart extends AreaChart<Number,Number>
JavaFX chart for displaying histograms. If multiple histograms are shown, these will overlap with one another.

Important!> This implementation does not behave quite like the built-in JavaFX charts, by presenting the core data within XYChart.Series objects. Instead, the data is stored in HistogramChart.HistogramData objects, which are then used to populate the chart.

One advantage of this is that it is easier to control the color of each histogram being displayed.

This behavior may change in the future, but for now the user must be careful to only interact with the data through the list returned by getHistogramData() (and not XYChart.getData() directly).