public interface Renderer
| Type | Property and Description |
|---|---|
BooleanProperty |
showInLegend
Sets whether DataSets attached to this renderer shall be shown in the legend
|
| Modifier and Type | Method and Description |
|---|---|
Canvas |
drawLegendSymbol(DataSet dataSet,
int dsIndex,
int width,
int height) |
ObservableList<Axis> |
getAxes() |
ObservableList<DataSet> |
getDatasets() |
ObservableList<DataSet> |
getDatasetsCopy() |
void |
render(GraphicsContext gc,
Chart chart,
int dataSetOffset,
ObservableList<DataSet> datasets) |
Renderer |
setShowInLegend(boolean state)
Sets whether DataSets attached to this renderer shall be shown in the legend
|
boolean |
showInLegend()
Sets whether DataSets attached to this renderer shall be shown in the legend
|
BooleanProperty |
showInLegendProperty()
Sets whether DataSets attached to this renderer shall be shown in the legend
|
BooleanProperty showInLegendProperty
Canvas drawLegendSymbol(DataSet dataSet, int dsIndex, int width, int height)
dataSet - the data set for which the representative icon should be generateddsIndex - index within renderer setwidth - requested width of the returning Canvasheight - requested height of the returning CanvasObservableList<Axis> getAxes()
ObservableList<DataSet> getDatasets()
ObservableList<DataSet> getDatasetsCopy()
void render(GraphicsContext gc, Chart chart, int dataSetOffset, ObservableList<DataSet> datasets)
Renderer setShowInLegend(boolean state)
state - true (default) if data sets are supposed to be drawnboolean showInLegend()
BooleanProperty showInLegendProperty()
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.