de.gsi.chart.legend.Legend Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chartfx-chart Show documentation
Show all versions of chartfx-chart Show documentation
This charting library ${project.artifactId}- is an extension
in the spirit of Oracle's XYChart and performance/time-proven JDataViewer charting functionalities.
Emphasis was put on plotting performance for both large number of data points and real-time displays,
as well as scientific accuracies leading to error bar/surface plots, and other scientific plotting
features (parameter measurements, fitting, multiple axes, zoom, ...).
package de.gsi.chart.legend;
import java.util.List;
import de.gsi.dataset.DataSet;
import de.gsi.chart.renderer.Renderer;
import javafx.scene.Node;
public interface Legend {
boolean isVertical();
void setVertical(boolean value);
/**
* This is called whenever a series is added or removed and the legend needs
* to be updated
* @param dataSets list of data sets to be displayed
* @param renderers corresponding renderers
*/
void updateLegend(List dataSets, List renderers);
Node getNode();
}