java.lang.Object
eu.hansolo.fx.charts.pareto.ParetoBar
authors: Michael Läuchli, MLaeuchli (github)
Stefan Mettler, orizion (github)
-
Property Summary
Properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new bar to the list of bars and updates the value fieldvoidjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>getBars()javafx.scene.paint.ColorGets the value of the property fillColor.doublegetName()getValue()doublegetWidth()doublegetX()doublegetY()voidsetFillColor(javafx.scene.paint.Color COLOR) Sets the value of the property fillColor.voidsetHeight(double HEIGHT) voidsetWidth(double WIDTH) voidsetX(double X) voidsetY(double Y)
-
Property Details
-
fillColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> fillColorProperty- See Also:
-
-
Constructor Details
-
ParetoBar
- Parameters:
name- The name to display for the barbars- List of type ParetoBar, if value is null, these bars will be used to determine this bars value.
-
ParetoBar
- Parameters:
name- The name to display for the barvalue- The value of this bar. If value is null, the ParetoBar will try to calculate the value from the list of ParetoBars
-
ParetoBar
- Parameters:
name- The name to display for the barvalue- The value of this bar. If value is null, the ParetoBar will try to calculate the value from the list of ParetoBarsbars- List of type ParetoBar, if value is null, these bars will be used to determine this bars value.
-
ParetoBar
- Parameters:
name- The name to display for the barvalue- The value of this bar. If value is null, the ParetoBar will try to calculate the value from the list of ParetoBarscolor- The color used to fill this Barbars- List of type ParetoBar, if value is null, these bars will be used to determine this bars value.
-
-
Method Details
-
getX
public double getX() -
setX
public void setX(double X) -
getY
public double getY() -
setY
public void setY(double Y) -
getWidth
public double getWidth() -
setWidth
public void setWidth(double WIDTH) -
getHeight
public double getHeight() -
setHeight
public void setHeight(double HEIGHT) -
getFillColor
public javafx.scene.paint.Color getFillColor()Gets the value of the property fillColor.- Property description:
-
setFillColor
public void setFillColor(javafx.scene.paint.Color COLOR) Sets the value of the property fillColor.- Property description:
-
fillColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> fillColorProperty()- See Also:
-
getValue
-
getName
-
getBars
-
addBar
Adds a new bar to the list of bars and updates the value field- Parameters:
bar- The ParetoBar to add to this bar
-
addBar
-