Class BasicLine
java.lang.Object
llnl.gnem.core.gui.plotting.plotly.BasicLine
- All Implemented Interfaces:
Line
,PlotObject
-
Constructor Summary
ConstructorDescriptionBasicLine
(double[] xVals, double[] yVals, double[] errorMin, double[] errorMax, javafx.scene.paint.Color color, LineStyles style, int pxThickness) BasicLine
(double[] xVals, double[] yVals, javafx.scene.paint.Color color, LineStyles style, int pxThickness) BasicLine
(String name, double xStart, double xIncrement, float[] data, javafx.scene.paint.Color blue, LineStyles solid, int lineWidth) -
Method Summary
Modifier and TypeMethodDescriptionboolean
double[]
getColor()
boolean
javafx.scene.paint.Color
double[]
double[]
javafx.scene.paint.Color
getName()
int
getStyle()
boolean
double[]
getX()
double[]
getY()
int
hashCode()
setColor
(double[] colorVals) setColorMap
(String colorMap) setDraggable
(boolean draggable) setEdgeColor
(javafx.scene.paint.Color color) setErrorData
(double[] errorMin) setErrorDataMinus
(double[] errorMax) setFillColor
(javafx.scene.paint.Color color) setFillMode
(FillModes fillMode) setHoverMode
(HoverModes hoverMode) setHoverTemplate
(String hoverTemplate) setLegendGrouping
(String legendGroup) setLegendOnly
(Boolean legendOnly) setPxThickness
(int pxThickness) setStyle
(LineStyles style) setUseHorizontalErrorBars
(boolean useHorizontalErrorBars) setX
(double[] xVals) setY
(double[] yVals) void
showInLegend
(Boolean showInLegend) toString()
-
Constructor Details
-
BasicLine
-
BasicLine
public BasicLine(double[] xVals, double[] yVals, javafx.scene.paint.Color color, LineStyles style, int pxThickness) -
BasicLine
public BasicLine(double[] xVals, double[] yVals, double[] errorMin, double[] errorMax, javafx.scene.paint.Color color, LineStyles style, int pxThickness) -
BasicLine
public BasicLine(String name, double xStart, double xIncrement, float[] data, javafx.scene.paint.Color blue, LineStyles solid, int lineWidth)
-
-
Method Details
-
getX
public double[] getX() -
setX
-
getY
public double[] getY() -
setY
-
getErrorData
public double[] getErrorData()- Specified by:
getErrorData
in interfaceLine
-
setErrorData
- Specified by:
setErrorData
in interfaceLine
-
getErrorDataMinus
public double[] getErrorDataMinus()- Specified by:
getErrorDataMinus
in interfaceLine
-
setErrorDataMinus
- Specified by:
setErrorDataMinus
in interfaceLine
-
getFillColor
public javafx.scene.paint.Color getFillColor()- Specified by:
getFillColor
in interfacePlotObject
-
setFillColor
- Specified by:
setFillColor
in interfacePlotObject
-
getEdgeColor
public javafx.scene.paint.Color getEdgeColor()- Specified by:
getEdgeColor
in interfacePlotObject
-
setEdgeColor
- Specified by:
setEdgeColor
in interfacePlotObject
-
getStyle
-
setStyle
-
getHoverMode
- Specified by:
getHoverMode
in interfaceLine
-
setHoverMode
- Specified by:
setHoverMode
in interfaceLine
-
getFillMode
- Specified by:
getFillMode
in interfaceLine
-
setFillMode
- Specified by:
setFillMode
in interfaceLine
-
getPxThickness
public int getPxThickness()- Specified by:
getPxThickness
in interfaceLine
-
setPxThickness
- Specified by:
setPxThickness
in interfaceLine
-
getName
- Specified by:
getName
in interfacePlotObject
-
setName
- Specified by:
setName
in interfacePlotObject
-
getColor
public double[] getColor() -
setColor
-
getColorMap
- Specified by:
getColorMap
in interfaceLine
-
setColorMap
- Specified by:
setColorMap
in interfaceLine
-
shouldShowInLegend
- Specified by:
shouldShowInLegend
in interfacePlotObject
-
showInLegend
- Specified by:
showInLegend
in interfacePlotObject
-
getDraggable
public boolean getDraggable()- Specified by:
getDraggable
in interfaceLine
-
setDraggable
- Specified by:
setDraggable
in interfaceLine
-
getUseHorizontalErrorBars
public boolean getUseHorizontalErrorBars()- Specified by:
getUseHorizontalErrorBars
in interfaceLine
-
setUseHorizontalErrorBars
- Specified by:
setUseHorizontalErrorBars
in interfaceLine
-
getHoverTemplate
- Specified by:
getHoverTemplate
in interfaceLine
-
setHoverTemplate
- Specified by:
setHoverTemplate
in interfaceLine
-
getLegendGrouping
- Specified by:
getLegendGrouping
in interfacePlotObject
-
setLegendGrouping
- Specified by:
setLegendGrouping
in interfacePlotObject
-
getLegendOnly
- Specified by:
getLegendOnly
in interfacePlotObject
-
setLegendOnly
- Specified by:
setLegendOnly
in interfacePlotObject
-
getZindex
- Specified by:
getZindex
in interfacePlotObject
-
setZindex
- Specified by:
setZindex
in interfacePlotObject
-
getSeriesIdentifier
- Specified by:
getSeriesIdentifier
in interfacePlotObject
-
hashCode
public int hashCode() -
equals
-
toString
-