public class ScatterPointSeries extends CartesianSeries
ScatterDataPoint
instances.Modifier and Type | Field and Description |
---|---|
static int |
FILL_COLOR_PROPERTY_KEY |
static int |
STROKE_COLOR_PROPERTY_KEY |
static int |
STROKE_THICKNESS_PROPERTY_KEY |
SERIES_Z_INDEX
Constructor and Description |
---|
ScatterPointSeries()
Initializes a new instance of the ScatterPointSeries class.
|
Modifier and Type | Method and Description |
---|---|
DataPointCollection<ScatterDataPoint> |
dataPoints()
Gets the collection of data points associated with the series.
|
double |
getDistanceToPoint(Point dataPointLocation,
Point tapLocation)
Returns the distance between a data point and a tap location.
|
int |
getFillColor()
Gets the fill color of the scatter points.
|
Paint |
getFillPaint()
Gets the fill paint of the scatter points.
|
int |
getLegendFillColor()
Returns the color used to depict this series in the Chart legend.
|
int |
getLegendStrokeColor()
Returns the stroke color used to depict this series in the Chart legend.
|
float |
getPointSize()
Gets the size of the scatter points.
|
int |
getStrokeColor()
Gets the stroke color of the scatter points.
|
Paint |
getStrokePaint()
Gets the stroke paint of the scatter points.
|
float |
getStrokeThickness()
Gets the stroke width of the scatter points.
|
DataPointBinding |
getXValueBinding()
Gets the binding that will be used to fill the x value member of the contained data points.
|
DataPointBinding |
getYValueBinding()
Gets the binding that will be used to fill the y value of the contained data points.
|
void |
setCanApplyPalette(boolean value)
Sets a value that determines if the chart palette should be applied to this presenter.
|
void |
setData(Iterable data)
Sets the items source of the series.
|
void |
setFillColor(int value)
Sets the fill color of the scatter points.
|
void |
setFillPaint(Paint value)
Sets the fill paint of the scatter points.
|
void |
setPointSize(float value)
Sets the size of the scatter points.
|
void |
setStrokeColor(int value)
Sets the stroke color of the scatter points.
|
void |
setStrokePaint(Paint value)
Sets the stroke paint of the scatter points.
|
void |
setStrokeThickness(float value)
Sets the stroke width of the scatter points.
|
void |
setXValueBinding(DataPointBinding value)
Sets the binding that will be used to fill the x value the contained data points.
|
<T,U> void |
setXValueBinding(Function<T,U> valueSelector)
Sets the binding that will be used to fill the x value the contained data points.
|
void |
setYValueBinding(DataPointBinding value)
Sets the binding that will be used to fill the y value of the contained data points.
|
<T,U> void |
setYValueBinding(Function<T,U> valueSelector)
Sets the binding that will be used to fill the y value of the contained data points.
|
chartAxisChanged, getHorizontalAxis, getVerticalAxis, setHorizontalAxis, setVerticalAxis
getDataPointRenderer, getLegendTitle, getSelectedChangeListener, onPointAdded, onPointRemoved, setDataPointRenderer, setIsSelected, setLegendTitle, setSelectedChangeListener
addPropertyChangedListener, dataSource, findClosestPoint, getClipToPlotArea, getData, getIsSelected, getIsVisibleInLegend, getLabelFillColor, getLabelFont, getLabelFontStyle, getLabelFormat, getLabelMargin, getLabelRenderer, getLabelSize, getLabelStrokeColor, getLabelTextColor, getLabelValueToStringConverter, getPlotAreaSize, getSelectionMode, getShowLabels, hitTest, hitTestDataPoint, model, onBoundItemPropertyChanged, onDataBindingComplete, onDataPointIsSelectedChanged, postRender, removePropertyChangedListener, render, setClipToPlotArea, setIsVisibleInLegend, setLabelFillColor, setLabelFont, setLabelFontStyle, setLabelFormat, setLabelMargin, setLabelPadding, setLabelRenderer, setLabelSize, setLabelStrokeColor, setLabelTextColor, setLabelValueToStringConverter, setSelectionMode, setShowLabels
attach, detach, getCanApplyPalette, getChart, getCollectionIndex, getPalette, getZIndex, invalidatePalette, onPaletteInvalidated, onPaletteUpdated, requestLayout, requestRender, setZIndex, updatePalette
getPaletteFamily, getPaletteFamilyCore, isLoaded, isPaletteApplied, isVisible, measureContent, paletteFamily, refreshNode, setPaletteFamily, setVisible, setVisible
getValue, resetPropertyValue, setValue, setValue
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIsSelected
getCollectionIndex, invalidatePalette, measureContent, refreshNode
public static final int FILL_COLOR_PROPERTY_KEY
public static final int STROKE_COLOR_PROPERTY_KEY
public static final int STROKE_THICKNESS_PROPERTY_KEY
public ScatterPointSeries()
public Paint getFillPaint()
public void setFillPaint(Paint value)
public Paint getStrokePaint()
public void setFillColor(int value)
public int getFillColor()
public void setStrokeColor(int value)
public int getStrokeColor()
public void setStrokeThickness(float value)
public float getStrokeThickness()
public void setStrokePaint(Paint value)
public int getLegendFillColor()
PointTemplateSeries
getLegendFillColor
in class PointTemplateSeries
public int getLegendStrokeColor()
PointTemplateSeries
getLegendStrokeColor
in class PointTemplateSeries
public void setCanApplyPalette(boolean value)
PresenterBase
setCanApplyPalette
in class PresenterBase
public void setData(Iterable data)
ChartSeries
setData
in class ChartSeries
data
- The new items source of the series.public DataPointCollection<ScatterDataPoint> dataPoints()
public DataPointBinding getXValueBinding()
public void setXValueBinding(DataPointBinding value)
public <T,U> void setXValueBinding(Function<T,U> valueSelector)
public DataPointBinding getYValueBinding()
public void setYValueBinding(DataPointBinding value)
public <T,U> void setYValueBinding(Function<T,U> valueSelector)
public float getPointSize()
public void setPointSize(float value)
public double getDistanceToPoint(Point dataPointLocation, Point tapLocation)
ChartSeries
getDistanceToPoint
in class ChartSeries
dataPointLocation
- the data point.tapLocation
- the tap location.