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)| Type | Property and Description |
|---|---|
DoubleProperty |
maxValue
Returns the property used to store the maximum value that will be used
for the scale and the layout of the row.
|
DoubleProperty |
minValue
Returns the property used to store the minimum value that will be used
for the scale and the layout of the row.
|
| Constructor and Description |
|---|
ChartLayout()
Constructs a new chart layout with a range of 0 to 100.
|
| Modifier and Type | Method and Description |
|---|---|
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(). |
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(). |
DoubleProperty |
maxValueProperty()
Returns the property used to store the maximum value that will be used
for the scale and the layout of the row.
|
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, setPaddingpublic final DoubleProperty maxValueProperty
getMaxValue(),
setMaxValue(double)public final DoubleProperty minValueProperty
getMinValue(),
setMinValue(double)public ChartLayout()
public final DoubleProperty maxValueProperty()
getMaxValue(),
setMaxValue(double)public final double getMaxValue()
maxValueProperty().public final void setMaxValue(double value)
maxValueProperty().value - the new maximum valuepublic final DoubleProperty minValueProperty()
getMinValue(),
setMinValue(double)public final double getMinValue()
minValueProperty().public final void setMinValue(double value)
minValueProperty().value - the new minimum valuepublic final ObservableList<Double> getMajorTicks()

public final ObservableList<Double> getMinorTicks()

Copyright © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.