Class RMXYChart
java.lang.Object
- All Implemented Interfaces:
Archivable
,DeepChangeListener
,RMPropertyChanger
,RMTypes
,Unexpandable
,RMShapeSelfInit
,PropertyChangeListener
,Cloneable
,EventListener
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.rm.shape.rm2dshapes.RMAbstractXYChart
RMAbstractXYChart.RenderOptsImpl
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypes
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
-
Field Summary
FieldsFields inherited from class com.inductiveautomation.rm.shape.rm2dshapes.RMAbstractXYChart
axes, axisLabelFont, axisTickLabelFont, barWidth, datasetKey, domainKey, gapThreshold, legend, noDataMessage, pens, plotBackground, rpgParentData, sampleDataCache, showXAxis, xAxisLabel
Fields inherited from class com.inductiveautomation.rm.shape.rm2dshapes.AbstractRM2DShape
DEFAULT_COLORS, logger, USE_RASTER_ATTRIB, USE_RASTER_PROPERTY_STRING
Fields inherited from class com.inductiveautomation.rm.shape.RMShape
BINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jfree.chart.axis.ValueAxis
fromXML
(RXArchiver anArchiver, RXElement e) XML unarchival.double
double
double
boolean
protected RMShape
rpgShape
(ReportOwner owner, RMShape aParent) Generate report with report owner.void
setAutoRange
(boolean autoRange) void
setBarWidth
(double barWidth) void
setLowerBound
(double lowerBound) void
setMargin
(double margin) void
setNumberFormat
(String numberFormat) void
setUpperBound
(double upperBound) toXML
(RXArchiver anArchiver) XML archival.Methods inherited from class com.inductiveautomation.rm.shape.rm2dshapes.RMAbstractXYChart
getAxes, getAxisLabelFont, getAxisTickLabelFont, getBarWidth, getDatasetKey, getDomainKey, getGapThreshold, getNoDataMessage, getPens, getPlotBackground, getXAxisLabel, isLegend, isShowXAxis, render, selfInit, setAxes, setAxisLabelFont, setAxisTickLabelFont, setDatasetKey, setDomainKey, setGapThreshold, setLegend, setNoDataMessage, setPens, setPlotBackground, setShowXAxis, setXAxisLabel
Methods inherited from class com.inductiveautomation.rm.shape.rm2dshapes.RMScriptableChart
applyConfigureChartScript, getScript, isScriptEnabled, setReportData, setScript, setScriptEnabled
Methods inherited from class com.inductiveautomation.rm.shape.rm2dshapes.AbstractRM2DShape
clone, getDefaultColorCodes, getDefaultColors, getDisplayedFill, getRenderContext, getUseRaster, getUserRasterInternal, isRpg, setDirty, setIsRpg, setRenderContext, setUseRaster, useImageForVector, writeEnd, writeStart
Methods inherited from class com.inductiveautomation.rm.shape.RMParentShape
addChild, addChild, addChild, addChild, addLayoutChild, bringShapesToFront, cloneDeep, computePrefHeight, computePrefWidth, divideShapeFromTop, fromXMLChildren, fromXMLShape, getBoundsOfChildren, getChild, getChildArray, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getLayout, getNeedsLayout, getSourceURL, indexOfChild, isHittable, isShowing, isSourceURLSet, layout, layoutChildren, relayout, removeChild, removeChild, removeChildren, removeLayoutChild, rpgAll, rpgChildren, sendShapesToBack, setHeight, setLayout, setNeedsLayout, setSourceURL, setWidth, toXMLChildren, toXMLShape
Methods inherited from class com.inductiveautomation.rm.shape.RMShape
acceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, childrenSuperSelectImmediately, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createDivideShapeRemainder, deepChange, divideShapeFromEdge, get, get, getAlignment, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBindings, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getChildAnimator, getChildAnimator, getChildClipShape, getClipShape, getColor, getDashArrayString, getDashPhase, getDatasetEntity, getDisplayedStroke, getDocument, getEffect, getEventAdapter, getFill, getFont, getFormat, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getLayoutInfo, getMaskPath, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, getOpacity, getOpacityDeep, getOutline, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParent, getPath, getPathInBounds, getPrefHeight, getPrefHeight, getPrefWidth, getPrefWidth, getPropertyNameMapped, getPropertyNames, getPropertyNames, getRoll, getRootShape, getRSS, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeOnTop, getStrokeStyle, getStrokeWidth, getTextColor, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, intersects, isAncestor, isAnimProperty, isDeletable, isDescendant, isEditing, isEnabled, isFontSet, isHittable, isLocked, isMinHeightSet, isMinWidthSet, isPrefHeightSet, isPrefWidthSet, isRoot, isRSS, isShowing, isUnderlined, isUseFill, isUseStroke, isViewing, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, offsetXY, page, pageMax, paint, paintShape, paintShapeAll, paintShapeChildren, paintShapeOver, propertyChange, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, repaint, resolvePageReferences, rpgBindings, setAlignment, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setDashArrayString, setDashPhase, setEffect, setEnabled, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, setOutline, setParent, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeStyle, setStrokeWidth, setTextColor, setTime, setTimeline, setUnderlined, setURL, setUseFill, setUseStroke, setVisible, setX, setXY, setXY, setXYP, setY, shapeHidden, shapeShown, superSelectable, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, y
Methods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
Methods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
Field Details
-
ARCHIVE_NAME
- See Also:
-
-
Constructor Details
-
RMXYChart
public RMXYChart()
-
-
Method Details
-
createSampleDataCache
protected com.google.common.cache.CacheLoader<List<Pen>,org.jfree.data.xy.XYDataset> createSampleDataCache()- Specified by:
createSampleDataCache
in classRMAbstractXYChart
-
createDomainAxis
protected org.jfree.chart.axis.ValueAxis createDomainAxis()- Specified by:
createDomainAxis
in classRMAbstractXYChart
-
setBarWidth
public void setBarWidth(double barWidth) - Overrides:
setBarWidth
in classRMAbstractXYChart
-
isAutoRange
public boolean isAutoRange() -
setAutoRange
public void setAutoRange(boolean autoRange) -
getUpperBound
public double getUpperBound() -
setUpperBound
public void setUpperBound(double upperBound) -
getLowerBound
public double getLowerBound() -
setLowerBound
public void setLowerBound(double lowerBound) -
getMargin
public double getMargin() -
setMargin
public void setMargin(double margin) -
getNumberFormat
-
setNumberFormat
-
toXML
Description copied from class:RMAbstractXYChart
XML archival.- Specified by:
toXML
in interfaceArchivable
- Overrides:
toXML
in classRMAbstractXYChart
-
fromXML
Description copied from class:RMAbstractXYChart
XML unarchival.- Specified by:
fromXML
in interfaceArchivable
- Overrides:
fromXML
in classRMAbstractXYChart
-
rpgShape
Description copied from class:RMShape
Generate report with report owner.- Overrides:
rpgShape
in classRMAbstractXYChart
-