Class RenderOptions
java.lang.Object
com.inductiveautomation.ignition.common.gui.chart.RenderOptions
- All Implemented Interfaces:
ChartConstants
- Direct Known Subclasses:
AbstractXYChart.RenderOptsImpl
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.ChartConstants
SHAPE_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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jfree.chart.renderer.xy.XYItemRendererdoubledoubleprotected abstract ColorgetSeriesColor(int s) protected abstract intprotected abstract StringgetSeriesDashString(int s) protected abstract floatgetSeriesLineWeight(int s) protected abstract intgetSeriesShape(int s) intgetStyle()doubledoubleprotected abstract booleanisSeriesBarLabelsVisible(int s) protected abstract booleanisSeriesFillShape(int s) static float[]parseDashPattern(String pattern) voidsetBarMargin(double barMargin) voidsetGapThreshold(double gapThreshold) voidsetxOffset3D(double xOffset3D) voidsetyOffset3D(double yOffset3D)
-
Constructor Details
-
RenderOptions
public RenderOptions(int style)
-
-
Method Details
-
createRenderer
-
parseDashPattern
- Throws:
NumberFormatException
-
getSeriesCount
protected abstract int getSeriesCount() -
getSeriesColor
-
getSeriesDashString
-
getSeriesLineWeight
protected abstract float getSeriesLineWeight(int s) -
getSeriesShape
protected abstract int getSeriesShape(int s) -
isSeriesBarLabelsVisible
protected abstract boolean isSeriesBarLabelsVisible(int s) -
isSeriesFillShape
protected abstract boolean isSeriesFillShape(int s) -
getStyle
public int getStyle() -
getGapThreshold
public double getGapThreshold() -
setGapThreshold
public void setGapThreshold(double gapThreshold) -
getxOffset3D
public double getxOffset3D() -
setxOffset3D
public void setxOffset3D(double xOffset3D) -
getyOffset3D
public double getyOffset3D() -
setyOffset3D
public void setyOffset3D(double yOffset3D) -
getBarMargin
public double getBarMargin() -
setBarMargin
public void setBarMargin(double barMargin)
-