Class PlotlyPlot
java.lang.Object
llnl.gnem.core.gui.plotting.plotly.PlotlyPlot
- All Implemented Interfaces:
Serializable
,BasicPlot
- Direct Known Subclasses:
PlotlyWaveformPlot
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPlotlyPlot
(boolean isSubPlot) PlotlyPlot
(boolean isSubPlot, PlotData plotData, int rows, int columns) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addPlotObject
(PlotObject object) protected void
addPlotObject
(PlotObject object, PlotData plot) void
addPlotObjectObserver
(PropertyChangeListener observer) void
attachToDisplayNode
(javafx.scene.layout.Pane parent) void
clear()
void
void
fireAxisChangeEvent
(boolean reset, double xMin, double xMax, double yMin, double yMax) void
fireFreqLevelChange
(boolean lflMode, double x, double y, double xx, double yy) void
fireOtherChangeEvent
(String data) void
firePlotClickedEvent
(double plotX, double plotY, double clientX, double clientY) void
firePlotMouseMovedEvent
(double plotX, double plotY, double clientX, double clientY) void
fireSelectionEvent
(String eventType, String dataJSON) void
fireShapeMoveEvent
(String name, double x0, double x1, double y0, double y1) void
javafx.scene.paint.Color
getSVG()
getTitle()
boolean
boolean
boolean
boolean
void
void
removePlotObject
(PlotObject object) protected void
removePlotObject
(PlotObject object, PlotData plot) void
replot()
void
setAxisLimits
(AxisLimits... axisLimits) void
setBackgroundColor
(javafx.scene.paint.Color color) void
setClickPickingModeEnabled
(boolean clickToPickEnabled) void
setColorMap
(String colorMap) void
setDragMode
(String dragmode) void
Defines the margin for the plot, in pixels.void
setShowFreqLevelButtons
(boolean showFreqLevelButtons) void
setShowGroupVelocity
(boolean showGroupVelocity) void
setShowHorizontalErrorBars
(boolean showHorizontalErrorBars) void
setShowWindowLines
(boolean showWindowLines) void
setSubplotLayout
(int columns, int rows) void
setSymbolSize
(int pxSymbolSize) void
setUseHorizontalBottomLegend
(boolean useHorizontalBottomLegend) void
showLegend
(boolean showLegend)
-
Field Details
-
engine
protected transient javafx.scene.web.WebEngine engine -
plotData
-
-
Constructor Details
-
PlotlyPlot
public PlotlyPlot() -
PlotlyPlot
public PlotlyPlot(boolean isSubPlot) -
PlotlyPlot
-
-
Method Details
-
setSubplotLayout
public void setSubplotLayout(int columns, int rows) - Specified by:
setSubplotLayout
in interfaceBasicPlot
-
exportData
-
log
-
hasChanges
public boolean hasChanges() -
hasPersistentChanges
public boolean hasPersistentChanges() -
setClickPickingModeEnabled
public void setClickPickingModeEnabled(boolean clickToPickEnabled) -
isClickToPickEnabled
public boolean isClickToPickEnabled() -
setShowFreqLevelButtons
public void setShowFreqLevelButtons(boolean showFreqLevelButtons) - Specified by:
setShowFreqLevelButtons
in interfaceBasicPlot
-
isShowFreqLevelButtons
public boolean isShowFreqLevelButtons() -
fireShapeMoveEvent
-
fireFreqLevelChange
public void fireFreqLevelChange(boolean lflMode, double x, double y, double xx, double yy) -
firePlotClickedEvent
public void firePlotClickedEvent(double plotX, double plotY, double clientX, double clientY) -
firePlotMouseMovedEvent
public void firePlotMouseMovedEvent(double plotX, double plotY, double clientX, double clientY) -
fireOtherChangeEvent
-
fireAxisChangeEvent
public void fireAxisChangeEvent(boolean reset, double xMin, double xMax, double yMin, double yMax) -
fireSelectionEvent
-
replot
public void replot() -
fullReplot
public void fullReplot()- Specified by:
fullReplot
in interfaceBasicPlot
-
addAxes
-
clearAxes
public void clearAxes() -
getPlotTypes
- Specified by:
getPlotTypes
in interfaceBasicPlot
-
attachToDisplayNode
public void attachToDisplayNode(javafx.scene.layout.Pane parent) - Specified by:
attachToDisplayNode
in interfaceBasicPlot
-
setBackgroundColor
public void setBackgroundColor(javafx.scene.paint.Color color) - Specified by:
setBackgroundColor
in interfaceBasicPlot
-
getBackgroundColor
public javafx.scene.paint.Color getBackgroundColor() -
setSymbolSize
public void setSymbolSize(int pxSymbolSize) - Specified by:
setSymbolSize
in interfaceBasicPlot
-
getTitle
-
addPlotObjectObserver
- Specified by:
addPlotObjectObserver
in interfaceBasicPlot
-
setAxisLimits
- Specified by:
setAxisLimits
in interfaceBasicPlot
-
addPlotObject
- Specified by:
addPlotObject
in interfaceBasicPlot
-
setUseHorizontalBottomLegend
public void setUseHorizontalBottomLegend(boolean useHorizontalBottomLegend) - Specified by:
setUseHorizontalBottomLegend
in interfaceBasicPlot
-
addPlotObject
-
removePlotObject
- Specified by:
removePlotObject
in interfaceBasicPlot
-
removePlotObject
-
setShowGroupVelocity
public void setShowGroupVelocity(boolean showGroupVelocity) -
setShowWindowLines
public void setShowWindowLines(boolean showWindowLines) -
setShowHorizontalErrorBars
public void setShowHorizontalErrorBars(boolean showHorizontalErrorBars) -
showLegend
public void showLegend(boolean showLegend) - Specified by:
showLegend
in interfaceBasicPlot
-
clear
public void clear() -
getSVG
-
getPlotDataJSON
-
getPlotLayoutJSON
-
setColorMap
- Specified by:
setColorMap
in interfaceBasicPlot
-
createSubPlot
- Specified by:
createSubPlot
in interfaceBasicPlot
-
setMargin
Defines the margin for the plot, in pixels. Null parameters are left at default values. -
setDragMode
- Specified by:
setDragMode
in interfaceBasicPlot
-