Interface IZeroGridLinePropertyOwner
- All Known Implementing Classes:
GanttChartNumericXAxis,GanttChartTimeXAxis,LineChartNumericXAxis,LineChartNumericYAxis,LineChartTimeXAxis
public interface IZeroGridLinePropertyOwner
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.paint.ColorReturns the color of the zero grid line.intReturns the width of the zero grid line, in pixels.booleanChecks whether the zero grid line is visible.setZeroGridLineColor(Color color) Sets the new color to the zero grid line of this chart.setZeroGridLineColor(javafx.scene.paint.Color color) Sets the new color to the zero grid line of this chart.setZeroGridLineVisible(boolean visible) Specifies whether the zero grid line should be drawn.setZeroGridLineWidth(int width) Sets the new width to the zero grid line of this chart, in pixels.
-
Method Details
-
setZeroGridLineVisible
Specifies whether the zero grid line should be drawn. Redraws this chart if the visibility is changed.- Parameters:
visible- new zero grid line visibility- Returns:
- reference to this object
- See Also:
-
setZeroGridLineColor
Sets the new color to the zero grid line of this chart. Redraws this chart if color is changed.- Parameters:
color- new zero grid line color- Returns:
- reference to this object
- See Also:
-
setZeroGridLineColor
Sets the new color to the zero grid line of this chart. Redraws this chart if color is changed.- Parameters:
color- new zero grid line color- Returns:
- reference to this object
- See Also:
-
setZeroGridLineWidth
Sets the new width to the zero grid line of this chart, in pixels. Redraws this chart if width is changed.- Parameters:
width- new zero grid line width, in pixels- Returns:
- reference to this object
- See Also:
-
isZeroGridLineVisible
boolean isZeroGridLineVisible()Checks whether the zero grid line is visible.- Returns:
trueif zero grid line is visible,falseotherwise
-
getZeroGridLineColor
javafx.scene.paint.Color getZeroGridLineColor()Returns the color of the zero grid line.- Returns:
- the color of the zero grid line
-
getZeroGridLineWidth
int getZeroGridLineWidth()Returns the width of the zero grid line, in pixels.- Returns:
- the width of the zero grid line, in pixels
-