Class RenderOptions
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.gui.chart.RenderOptions
 
- 
- All Implemented Interfaces:
- ChartConstants
 - Direct Known Subclasses:
- AbstractXYChart.RenderOptsImpl
 
 public abstract class RenderOptions extends java.lang.Object implements ChartConstants RenderOptions is an abstract class that represents the options needed to create a renderer for a collection of "pens" or series that share the same basic render style but have different series specific options such as color. Most importantly, there is also a static function that will take a RenderOptions instance and create a properly configured XYItemRenderer.
- 
- 
Field Summary- 
Fields inherited from interface com.inductiveautomation.ignition.common.gui.chart.ChartConstantsSHAPE_LIST, STYLE_3D_LINE, STYLE_AREA, STYLE_BAR, STYLE_BAR_NO_SHADOW, STYLE_DOT, STYLE_LINE, STYLE_LINE_AND_SHAPE, STYLE_LINE_DISCONTINUOUS, STYLE_SHAPE, STYLE_STEP, STYLE_STEP_AREA
 
- 
 - 
Constructor SummaryConstructors Constructor Description RenderOptions(int style)
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static org.jfree.chart.renderer.xy.XYItemRenderercreateRenderer(RenderOptions opt)doublegetBarMargin()doublegetGapThreshold()protected abstract java.awt.ColorgetSeriesColor(int s)protected abstract intgetSeriesCount()protected abstract java.lang.StringgetSeriesDashString(int s)protected abstract floatgetSeriesLineWeight(int s)protected abstract intgetSeriesShape(int s)intgetStyle()doublegetxOffset3D()doublegetyOffset3D()protected abstract booleanisSeriesBarLabelsVisible(int s)protected abstract booleanisSeriesFillShape(int s)static float[]parseDashPattern(java.lang.String pattern)voidsetBarMargin(double barMargin)voidsetGapThreshold(double gapThreshold)voidsetxOffset3D(double xOffset3D)voidsetyOffset3D(double yOffset3D)
 
- 
- 
- 
Method Detail- 
createRendererpublic static org.jfree.chart.renderer.xy.XYItemRenderer createRenderer(RenderOptions opt) 
 - 
parseDashPatternpublic static float[] parseDashPattern(java.lang.String pattern) throws java.lang.NumberFormatException- Throws:
- java.lang.NumberFormatException
 
 - 
getSeriesCountprotected abstract int getSeriesCount() 
 - 
getSeriesColorprotected abstract java.awt.Color getSeriesColor(int s) 
 - 
getSeriesDashStringprotected abstract java.lang.String getSeriesDashString(int s) 
 - 
getSeriesLineWeightprotected abstract float getSeriesLineWeight(int s) 
 - 
getSeriesShapeprotected abstract int getSeriesShape(int s) 
 - 
isSeriesBarLabelsVisibleprotected abstract boolean isSeriesBarLabelsVisible(int s) 
 - 
isSeriesFillShapeprotected abstract boolean isSeriesFillShape(int s) 
 - 
getStylepublic int getStyle() 
 - 
getGapThresholdpublic double getGapThreshold() 
 - 
setGapThresholdpublic void setGapThreshold(double gapThreshold) 
 - 
getxOffset3Dpublic double getxOffset3D() 
 - 
setxOffset3Dpublic void setxOffset3D(double xOffset3D) 
 - 
getyOffset3Dpublic double getyOffset3D() 
 - 
setyOffset3Dpublic void setyOffset3D(double yOffset3D) 
 - 
getBarMarginpublic double getBarMargin() 
 - 
setBarMarginpublic void setBarMargin(double barMargin) 
 
- 
 
-