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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlotlyPlot(boolean isSubPlot) PlotlyPlot(boolean isSubPlot, PlotData plotData, int rows, int columns) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddPlotObject(PlotObject object) protected voidaddPlotObject(PlotObject object, PlotData plot) voidaddPlotObjectObserver(PropertyChangeListener observer) voidattachToDisplayNode(javafx.scene.layout.Pane parent) voidclear()voidvoidfireAxisChangeEvent(boolean reset, double xMin, double xMax, double yMin, double yMax) voidfireFreqLevelChange(boolean lflMode, double x, double y, double xx, double yy) voidfireOtherChangeEvent(String data) voidfirePlotClickedEvent(double plotX, double plotY, double clientX, double clientY) voidfirePlotMouseMovedEvent(double plotX, double plotY, double clientX, double clientY) voidfireSelectionEvent(String eventType, String dataJSON) voidfireShapeMoveEvent(String name, double x0, double x1, double y0, double y1) voidjavafx.scene.paint.ColorgetSVG()getTitle()booleanbooleanbooleanbooleanvoidvoidremovePlotObject(PlotObject object) protected voidremovePlotObject(PlotObject object, PlotData plot) voidreplot()voidsetAxisLimits(AxisLimits... axisLimits) voidsetBackgroundColor(javafx.scene.paint.Color color) voidsetClickPickingModeEnabled(boolean clickToPickEnabled) voidsetColorMap(String colorMap) voidsetDragMode(String dragmode) voidDefines the margin for the plot, in pixels.voidsetShowFreqLevelButtons(boolean showFreqLevelButtons) voidsetShowGroupVelocity(boolean showGroupVelocity) voidsetShowHorizontalErrorBars(boolean showHorizontalErrorBars) voidsetShowWindowLines(boolean showWindowLines) voidsetSubplotLayout(int columns, int rows) voidsetSymbolSize(int pxSymbolSize) voidsetUseHorizontalBottomLegend(boolean useHorizontalBottomLegend) voidshowLegend(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:
setSubplotLayoutin 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:
setShowFreqLevelButtonsin 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:
fullReplotin interfaceBasicPlot
-
addAxes
-
clearAxes
public void clearAxes() -
getPlotTypes
- Specified by:
getPlotTypesin interfaceBasicPlot
-
attachToDisplayNode
public void attachToDisplayNode(javafx.scene.layout.Pane parent) - Specified by:
attachToDisplayNodein interfaceBasicPlot
-
setBackgroundColor
public void setBackgroundColor(javafx.scene.paint.Color color) - Specified by:
setBackgroundColorin interfaceBasicPlot
-
getBackgroundColor
public javafx.scene.paint.Color getBackgroundColor() -
setSymbolSize
public void setSymbolSize(int pxSymbolSize) - Specified by:
setSymbolSizein interfaceBasicPlot
-
getTitle
-
addPlotObjectObserver
- Specified by:
addPlotObjectObserverin interfaceBasicPlot
-
setAxisLimits
- Specified by:
setAxisLimitsin interfaceBasicPlot
-
addPlotObject
- Specified by:
addPlotObjectin interfaceBasicPlot
-
setUseHorizontalBottomLegend
public void setUseHorizontalBottomLegend(boolean useHorizontalBottomLegend) - Specified by:
setUseHorizontalBottomLegendin interfaceBasicPlot
-
addPlotObject
-
removePlotObject
- Specified by:
removePlotObjectin 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:
showLegendin interfaceBasicPlot
-
clear
public void clear() -
getSVG
-
getPlotDataJSON
-
getPlotLayoutJSON
-
setColorMap
- Specified by:
setColorMapin interfaceBasicPlot
-
createSubPlot
- Specified by:
createSubPlotin interfaceBasicPlot
-
setMargin
Defines the margin for the plot, in pixels. Null parameters are left at default values. -
setDragMode
- Specified by:
setDragModein interfaceBasicPlot
-