| Type | Property and Description |
|---|---|
javafx.beans.property.BooleanProperty |
autoScaleYAxis |
javafx.beans.property.Property<ChartType> |
chartType
The type of chart hosted by the
Worksheet |
javafx.beans.property.BooleanProperty |
dirty
A
BooleanProperty that observes the changes made to the Dirtyable instance |
javafx.beans.property.DoubleProperty |
graphOpacity
The graphOpacity property
|
javafx.beans.property.Property<java.lang.String> |
name
The name of the
Worksheet |
javafx.beans.property.BooleanProperty |
showAreaOutline
The showAreaOutline property
|
javafx.beans.property.BooleanProperty |
showProperties |
javafx.beans.property.DoubleProperty |
strokeWidth
The strokeWidth property.
|
javafx.beans.property.Property<UnitPrefixes> |
unitPrefixes
The unit prefix for the
Worksheet's times series Y axis |
javafx.beans.property.Property<java.lang.String> |
unit
The unit for the
Worksheet's times series Y axis |
javafx.beans.property.DoubleProperty |
yAxisMaxValue |
javafx.beans.property.DoubleProperty |
yAxisMinValue |
| Constructor and Description |
|---|
Chart()
Initializes a new instance of the
Worksheet class |
Chart(Chart<T> initChart)
Copy constructor to deep clone a
Chart instance. |
Chart(java.lang.String name,
ChartType chartType,
java.lang.String unitName,
UnitPrefixes prefix)
Initializes a new instance of the
Worksheet class with the provided name, chart type and zoneid |
| Modifier and Type | Method and Description |
|---|---|
void |
addSeries(java.util.Collection<TimeSeriesInfo<T>> seriesInfo)
Adds a collection of
TimeSeriesInfo to the worksheet |
void |
addSeries(TimeSeriesInfo<T> seriesInfo)
Adds a
TimeSeriesInfo to the worksheet |
javafx.beans.property.BooleanProperty |
autoScaleYAxisProperty() |
javafx.beans.property.Property<ChartType> |
chartTypeProperty()
The type of chart hosted by the
Worksheet |
void |
cleanUp()
Clear the dirty status of the
Dirtyable instance |
void |
clearSeries()
Clear the
Worksheet list |
void |
close() |
javafx.beans.property.BooleanProperty |
dirtyProperty()
A
BooleanProperty that observes the changes made to the Dirtyable instance |
void |
fetchDataFromSources(java.time.ZonedDateTime startTime,
java.time.ZonedDateTime endTime,
boolean bypassCache)
Fills up the backend for all
TimeSeriesInfo in the worksheet with data from the adapter on the specified time interval |
ChartType |
getChartType()
The type of chart hosted by the
Worksheet |
double |
getGraphOpacity()
Gets the opacity factor to apply the the graph
|
java.lang.String |
getName()
The name of the
Worksheet |
javafx.collections.ObservableList<TimeSeriesInfo<T>> |
getSeries()
The time series of the
Worksheet |
double |
getStrokeWidth()
Return the stroke width for line charts
|
java.lang.String |
getUnit()
The unit for the
Worksheet's times series Y axis |
UnitPrefixes |
getUnitPrefixes()
The unit prefix for the
Worksheet's times series Y axis |
double |
getyAxisMaxValue() |
double |
getyAxisMinValue() |
javafx.beans.property.DoubleProperty |
graphOpacityProperty()
The graphOpacity property
|
boolean |
isAutoScaleYAxis()
Gets the value of the property autoScaleYAxis.
|
java.lang.Boolean |
isDirty()
Gets the value of the property dirty.
|
boolean |
isShowAreaOutline()
Returns true if area charts should display an outline stroke, false otherwise
|
boolean |
isShowProperties()
Gets the value of the property showProperties.
|
javafx.beans.property.Property<java.lang.String> |
nameProperty()
The name of the
Worksheet |
void |
removeSeries(java.util.Collection<TimeSeriesInfo> seriesInfo)
Remove all the elements in the provided collection from the list of
Worksheet instances |
void |
setAutoScaleYAxis(boolean autoScaleYAxis)
Sets the value of the property autoScaleYAxis.
|
void |
setChartType(ChartType chartType)
The type of chart hosted by the
Worksheet |
void |
setGraphOpacity(double graphOpacity)
Sets the opacity factor to apply the the graph
|
void |
setName(java.lang.String name)
The name of the
Worksheet |
void |
setShowAreaOutline(boolean showAreaOutline)
Set to true if area charts should display an outline stroke, false otherwise
|
void |
setShowProperties(boolean showProperties)
Sets the value of the property showProperties.
|
void |
setStrokeWidth(double value)
Sets the stroke width for line charts.
|
void |
setUnit(java.lang.String unit)
The unit for the
Worksheet's times series Y axis |
void |
setUnitPrefixes(UnitPrefixes unitPrefixes)
The unit prefix for the
Worksheet's times series Y axis |
void |
setyAxisMaxValue(double yAxisMaxValue) |
void |
setyAxisMinValue(double yAxisMinValue) |
javafx.beans.property.BooleanProperty |
showAreaOutlineProperty()
The showAreaOutline property
|
javafx.beans.property.BooleanProperty |
showPropertiesProperty() |
javafx.beans.property.DoubleProperty |
strokeWidthProperty()
The strokeWidth property.
|
java.lang.String |
toString() |
javafx.beans.property.Property<UnitPrefixes> |
unitPrefixesProperty()
The unit prefix for the
Worksheet's times series Y axis |
javafx.beans.property.Property<java.lang.String> |
unitProperty()
The unit for the
Worksheet's times series Y axis |
javafx.beans.property.DoubleProperty |
yAxisMaxValueProperty() |
javafx.beans.property.DoubleProperty |
yAxisMinValueProperty() |
public javafx.beans.property.Property<java.lang.String> nameProperty
WorksheetgetName(),
setName(String)public javafx.beans.property.Property<ChartType> chartTypeProperty
WorksheetgetChartType(),
setChartType(ChartType)public javafx.beans.property.Property<java.lang.String> unitProperty
Worksheet's times series Y axisgetUnit(),
setUnit(String)public javafx.beans.property.Property<UnitPrefixes> unitPrefixesProperty
Worksheet's times series Y axisgetUnitPrefixes(),
setUnitPrefixes(UnitPrefixes)public javafx.beans.property.DoubleProperty graphOpacityProperty
getGraphOpacity(),
setGraphOpacity(double)public javafx.beans.property.BooleanProperty showAreaOutlineProperty
isShowAreaOutline(),
setShowAreaOutline(boolean)public javafx.beans.property.DoubleProperty strokeWidthProperty
getStrokeWidth(),
setStrokeWidth(double)public javafx.beans.property.BooleanProperty dirtyProperty
dirtyProperty in interface DirtyableisDirty()public javafx.beans.property.BooleanProperty autoScaleYAxisProperty
isAutoScaleYAxis(),
setAutoScaleYAxis(boolean)public javafx.beans.property.DoubleProperty yAxisMinValueProperty
public javafx.beans.property.DoubleProperty yAxisMaxValueProperty
public javafx.beans.property.BooleanProperty showPropertiesProperty
isShowProperties(),
setShowProperties(boolean)public Chart()
Worksheet classpublic Chart(java.lang.String name,
ChartType chartType,
java.lang.String unitName,
UnitPrefixes prefix)
Worksheet class with the provided name, chart type and zoneidpublic void fetchDataFromSources(java.time.ZonedDateTime startTime,
java.time.ZonedDateTime endTime,
boolean bypassCache)
throws DataAdapterException
TimeSeriesInfo in the worksheet with data from the adapter on the specified time intervalstartTime - the start of the time intervalendTime - the end of the time intervalDataAdapterException - if an error occurs while retrieving data from the adapterpublic void addSeries(TimeSeriesInfo<T> seriesInfo)
TimeSeriesInfo to the worksheetseriesInfo - the TimeSeriesInfo to addpublic void addSeries(java.util.Collection<TimeSeriesInfo<T>> seriesInfo)
TimeSeriesInfo to the worksheetseriesInfo - the collection TimeSeriesInfo to addpublic void removeSeries(java.util.Collection<TimeSeriesInfo> seriesInfo)
Worksheet instancesseriesInfo - the list of Worksheet instances to removepublic void clearSeries()
Worksheet listpublic java.lang.String getName()
WorksheetWorksheetpublic javafx.beans.property.Property<java.lang.String> nameProperty()
WorksheetgetName(),
setName(String)public void setName(java.lang.String name)
Worksheetname - the name of the Worksheetpublic javafx.collections.ObservableList<TimeSeriesInfo<T>> getSeries()
WorksheetWorksheetpublic ChartType getChartType()
WorksheetWorksheetpublic javafx.beans.property.Property<ChartType> chartTypeProperty()
WorksheetgetChartType(),
setChartType(ChartType)public void setChartType(ChartType chartType)
WorksheetchartType - the type of chart hosted by the Worksheetpublic java.lang.String getUnit()
Worksheet's times series Y axisWorksheet's times series Y axispublic javafx.beans.property.Property<java.lang.String> unitProperty()
Worksheet's times series Y axisgetUnit(),
setUnit(String)public void setUnit(java.lang.String unit)
Worksheet's times series Y axisunit - the unit for the Worksheet's times series Y axispublic UnitPrefixes getUnitPrefixes()
Worksheet's times series Y axisWorksheet's times series Y axispublic javafx.beans.property.Property<UnitPrefixes> unitPrefixesProperty()
Worksheet's times series Y axisgetUnitPrefixes(),
setUnitPrefixes(UnitPrefixes)public void setUnitPrefixes(UnitPrefixes unitPrefixes)
Worksheet's times series Y axisunitPrefixes - the unit prefix for the Worksheet's times series Y axispublic double getGraphOpacity()
public javafx.beans.property.DoubleProperty graphOpacityProperty()
getGraphOpacity(),
setGraphOpacity(double)public void setGraphOpacity(double graphOpacity)
graphOpacity - the opacity factor to apply the the graphpublic boolean isShowAreaOutline()
public javafx.beans.property.BooleanProperty showAreaOutlineProperty()
isShowAreaOutline(),
setShowAreaOutline(boolean)public void setShowAreaOutline(boolean showAreaOutline)
showAreaOutline - true if area charts should display an outline stroke, false otherwisepublic javafx.beans.property.DoubleProperty strokeWidthProperty()
getStrokeWidth(),
setStrokeWidth(double)public double getStrokeWidth()
public void setStrokeWidth(double value)
value - the stroke width for line charts.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Boolean isDirty()
public javafx.beans.property.BooleanProperty dirtyProperty()
DirtyableBooleanProperty that observes the changes made to the Dirtyable instancedirtyProperty in interface DirtyableisDirty()public void cleanUp()
DirtyableDirtyable instancepublic void close()
close in interface java.lang.AutoCloseablepublic boolean isAutoScaleYAxis()
public javafx.beans.property.BooleanProperty autoScaleYAxisProperty()
isAutoScaleYAxis(),
setAutoScaleYAxis(boolean)public void setAutoScaleYAxis(boolean autoScaleYAxis)
public double getyAxisMinValue()
public javafx.beans.property.DoubleProperty yAxisMinValueProperty()
public void setyAxisMinValue(double yAxisMinValue)
public double getyAxisMaxValue()
public javafx.beans.property.DoubleProperty yAxisMaxValueProperty()
public void setyAxisMaxValue(double yAxisMaxValue)
public boolean isShowProperties()
public javafx.beans.property.BooleanProperty showPropertiesProperty()
isShowProperties(),
setShowProperties(boolean)public void setShowProperties(boolean showProperties)
Copyright © 2018 Frederic Thevenet. All rights reserved.