Module xaos.ui.plot
Package eu.ess.xaos.ui.plot.data
Class DataReducingSeries<X extends Number,Y extends Number>
- java.lang.Object
-
- eu.ess.xaos.ui.plot.data.DataReducingSeries<X,Y>
-
-
Property Summary
Properties Type Property Description BooleanProperty
autoPointsCount
DoubleProperty
chartWidthToDataPointsRatio
ObjectProperty<ObservableList<XYChart.Data<X,Y>>>
data
ObjectProperty<DataReducer<X,Y>>
dataReducer
IntegerProperty
fixedPointsCount
StringProperty
name
-
Constructor Summary
Constructors Constructor Description DataReducingSeries()
Construct a empty series.DataReducingSeries(String name, ObservableList<XYChart.Data<X,Y>> data)
Constructs a named series and populates it with the givenObservableList
data.DataReducingSeries(ObservableList<XYChart.Data<X,Y>> data)
Constructs a series and populates it with the givenObservableList
data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanProperty
autoPointsCountProperty()
DoubleProperty
chartWidthToDataPointsRatioProperty()
ObjectProperty<ObservableList<XYChart.Data<X,Y>>>
dataProperty()
ObjectProperty<DataReducer<X,Y>>
dataReducerProperty()
IntegerProperty
fixedPointsCountProperty()
double
getChartWidthToDataPointsRatio()
Gets the value of the property chartWidthToDataPointsRatio.ObservableList<XYChart.Data<X,Y>>
getData()
Gets the value of the property data.DataReducer<X,Y>
getDataReducer()
Gets the value of the property dataReducer.int
getFixedPointsCount()
Gets the value of the property fixedPointsCount.String
getName()
Gets the value of the property name.XYChart.Series<X,Y>
getSeries()
boolean
isAutoPointsCount()
Gets the value of the property autoPointsCount.StringProperty
nameProperty()
void
setAutoPointsCount(boolean value)
Sets the value of the property autoPointsCount.void
setChartWidthToDataPointsRatio(double value)
Sets the value of the property chartWidthToDataPointsRatio.void
setData(ObservableList<XYChart.Data<X,Y>> value)
Sets the value of the property data.void
setDataReducer(DataReducer<X,Y> value)
Sets the value of the property dataReducer.void
setFixedPointsCount(int value)
Sets the value of the property fixedPointsCount.void
setName(String value)
Sets the value of the property name.
-
-
-
Property Detail
-
autoPointsCount
public BooleanProperty autoPointsCountProperty
- See Also:
isAutoPointsCount()
,setAutoPointsCount(boolean)
-
chartWidthToDataPointsRatio
public DoubleProperty chartWidthToDataPointsRatioProperty
-
data
public ObjectProperty<ObservableList<XYChart.Data<X extends Number,Y extends Number>>> dataProperty
- See Also:
getData()
,setData(ObservableList)
-
dataReducer
public ObjectProperty<DataReducer<X extends Number,Y extends Number>> dataReducerProperty
- See Also:
getDataReducer()
,setDataReducer(DataReducer)
-
fixedPointsCount
public IntegerProperty fixedPointsCountProperty
- See Also:
getFixedPointsCount()
,setFixedPointsCount(int)
-
name
public StringProperty nameProperty
- See Also:
getName()
,setName(String)
-
-
Constructor Detail
-
DataReducingSeries
public DataReducingSeries()
Construct a empty series.
-
DataReducingSeries
public DataReducingSeries(ObservableList<XYChart.Data<X,Y>> data)
Constructs a series and populates it with the givenObservableList
data.- Parameters:
data
-ObservableList
ofXYChart.Data
points.
-
DataReducingSeries
public DataReducingSeries(String name, ObservableList<XYChart.Data<X,Y>> data)
Constructs a named series and populates it with the givenObservableList
data.- Parameters:
name
- The name for the series.data
-ObservableList
ofXYChart.Data
points.
-
-
Method Detail
-
autoPointsCountProperty
public BooleanProperty autoPointsCountProperty()
- See Also:
isAutoPointsCount()
,setAutoPointsCount(boolean)
-
chartWidthToDataPointsRatioProperty
public DoubleProperty chartWidthToDataPointsRatioProperty()
-
dataProperty
public ObjectProperty<ObservableList<XYChart.Data<X,Y>>> dataProperty()
- See Also:
getData()
,setData(ObservableList)
-
dataReducerProperty
public ObjectProperty<DataReducer<X,Y>> dataReducerProperty()
- See Also:
getDataReducer()
,setDataReducer(DataReducer)
-
fixedPointsCountProperty
public IntegerProperty fixedPointsCountProperty()
- See Also:
getFixedPointsCount()
,setFixedPointsCount(int)
-
getChartWidthToDataPointsRatio
public double getChartWidthToDataPointsRatio()
Gets the value of the property chartWidthToDataPointsRatio.- Property description:
-
getData
public ObservableList<XYChart.Data<X,Y>> getData()
Gets the value of the property data.- Property description:
-
getDataReducer
public DataReducer<X,Y> getDataReducer()
Gets the value of the property dataReducer.- Property description:
-
getFixedPointsCount
public int getFixedPointsCount()
Gets the value of the property fixedPointsCount.- Property description:
-
getName
public String getName()
Gets the value of the property name.- Property description:
-
getSeries
public XYChart.Series<X,Y> getSeries()
-
isAutoPointsCount
public boolean isAutoPointsCount()
Gets the value of the property autoPointsCount.- Property description:
-
nameProperty
public StringProperty nameProperty()
- See Also:
getName()
,setName(String)
-
setAutoPointsCount
public void setAutoPointsCount(boolean value)
Sets the value of the property autoPointsCount.- Property description:
-
setChartWidthToDataPointsRatio
public void setChartWidthToDataPointsRatio(double value)
Sets the value of the property chartWidthToDataPointsRatio.- Property description:
-
setData
public void setData(ObservableList<XYChart.Data<X,Y>> value)
Sets the value of the property data.- Property description:
-
setDataReducer
public void setDataReducer(DataReducer<X,Y> value)
Sets the value of the property dataReducer.- Property description:
-
setFixedPointsCount
public void setFixedPointsCount(int value)
Sets the value of the property fixedPointsCount.- Property description:
-
setName
public void setName(String value)
Sets the value of the property name.- Property description:
-
-