public class ChartLayout extends Layout
ChartActivity
will be placed on a
zeroline between getMinValue()
and getMaxValue()
. The
height of the activity will be based on the value returned by
ChartActivity.getChartValue()
. Activities of type
HighLowChartActivity
will appear as floating bars. The layout also
supports the definition of minor and major chart lines drawn in the row
background.
ChartActivity
,
HighLowChartActivity
,
Row.setLayout(Layout)
,
Row.getLineLayout(int)
,
LinesManager.getLineLayout(int)
Constructor and Description |
---|
ChartLayout()
Constructs a new chart layout with a range of 0 to 100.
|
Modifier and Type | Method and Description |
---|---|
javafx.collections.ObservableList<Double> |
getMajorTicks()
Returns the major ticks to be displayed in the row background and by the
row scale.
|
double |
getMaxValue()
Returns the value of the
maxValueProperty() . |
javafx.collections.ObservableList<Double> |
getMinorTicks()
Returns the minor ticks to be displayed in the row background and by the
row scale.
|
double |
getMinValue()
Returns the value of
minValueProperty() . |
boolean |
isSupportingHorizontalCursorLine()
Determines if the UI should be able to show a horizontal cursor line.
|
javafx.beans.property.DoubleProperty |
maxValueProperty()
Returns the property used to store the maximum value that will be used
for the scale and the layout of the row.
|
javafx.beans.property.DoubleProperty |
minValueProperty()
Returns the property used to store the minimum value that will be used
for the scale and the layout of the row.
|
void |
setMaxValue(double value)
Sets the value of the
maxValueProperty() . |
void |
setMinValue(double value)
Sets the value of
minValueProperty() . |
String |
toString() |
getPadding, paddingProperty, setPadding
public ChartLayout()
public final javafx.beans.property.DoubleProperty maxValueProperty()
public final double getMaxValue()
maxValueProperty()
.public final void setMaxValue(double value)
maxValueProperty()
.value
- the new maximum valuepublic final javafx.beans.property.DoubleProperty minValueProperty()
public final double getMinValue()
minValueProperty()
.public final void setMinValue(double value)
minValueProperty()
.value
- the new minimum valuepublic final javafx.collections.ObservableList<Double> getMajorTicks()
public final javafx.collections.ObservableList<Double> getMinorTicks()
public boolean isSupportingHorizontalCursorLine()
Layout
ChartLayout
and the AgendaLayout
support this.isSupportingHorizontalCursorLine
in class Layout
Copyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.