Class DialRenderer
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class DefaultRenderer
BACKGROUND_COLOR, NO_COLOR, TEXT_COLOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the end angle value of the dial.doubleReturns the start angle value of the dial.doubleReturns the major ticks spacing.doubleReturns the end value to be rendered on the dial.doubleReturns the minor ticks spacing.doubleReturns the start value to be rendered on the dial.getVisualTypeForIndex(int index) Returns the visual type at the specified index.booleanReturns if the maximum dial value was set.booleanReturns if the minimum dial value was set.voidsetAngleMax(double max) Sets the end angle value of the dial.voidsetAngleMin(double min) Sets the start angle value of the dial.voidsetMajorTicksSpacing(double spacing) Sets the major ticks spacing.voidsetMaxValue(double max) Sets the end value to be rendered on the dial.voidsetMinorTicksSpacing(double spacing) Sets the minor ticks spacing.voidsetMinValue(double min) Sets the start value to be rendered on the dial.voidsetVisualTypes(DialRenderer.Type[] types) Sets the visual types.Methods inherited from class DefaultRenderer
addSeriesRenderer, addSeriesRenderer, getAxesColor, getBackgroundColor, getChartTitle, getChartTitleTextSize, getLabelsColor, getLabelsTextSize, getLegendHeight, getLegendTextSize, getMargins, getOriginalScale, getScale, getSelectableBuffer, getSeriesRendererAt, getSeriesRendererCount, getSeriesRenderers, getStartAngle, getTextTypeface, getTextTypefaceName, getTextTypefaceStyle, getXAxisColor, getYAxisColor, getZoomRate, isAntialiasing, isApplyBackgroundColor, isClickEnabled, isDisplayValues, isExternalZoomEnabled, isFitLegend, isInScroll, isPanEnabled, isShowAxes, isShowCustomTextGridX, isShowCustomTextGridY, isShowGridX, isShowGridY, isShowLabels, isShowLegend, isShowTickMarks, isZoomButtonsVisible, isZoomEnabled, removeAllRenderers, removeSeriesRenderer, setAntialiasing, setApplyBackgroundColor, setAxesColor, setBackgroundColor, setChartTitle, setChartTitleTextFont, setChartTitleTextSize, setClickEnabled, setDisplayValues, setExternalZoomEnabled, setFitLegend, setInScroll, setLabelsColor, setLabelsTextFont, setLabelsTextSize, setLegendHeight, setLegendTextFont, setLegendTextSize, setMargins, setPanEnabled, setScale, setSelectableBuffer, setShowAxes, setShowCustomTextGrid, setShowCustomTextGridX, setShowCustomTextGridY, setShowGrid, setShowGridX, setShowGridY, setShowLabels, setShowLegend, setShowTickMarks, setStartAngle, setTextTypeface, setTextTypeface, setXAxisColor, setYAxisColor, setZoomButtonsVisible, setZoomEnabled, setZoomRate
-
Constructor Details
-
DialRenderer
public DialRenderer()
-
-
Method Details
-
getAngleMin
public double getAngleMin()Returns the start angle value of the dial.
Returns
the angle start value
-
setAngleMin
public void setAngleMin(double min) Sets the start angle value of the dial.
Parameters
min: the dial angle start value
-
getAngleMax
public double getAngleMax()Returns the end angle value of the dial.
Returns
the angle end value
-
setAngleMax
public void setAngleMax(double max) Sets the end angle value of the dial.
Parameters
max: the dial angle end value
-
getMinValue
public double getMinValue()Returns the start value to be rendered on the dial.
Returns
the start value on dial
-
setMinValue
public void setMinValue(double min) Sets the start value to be rendered on the dial.
Parameters
min: the start value on the dial
-
isMinValueSet
public boolean isMinValueSet()Returns if the minimum dial value was set.
Returns
the minimum dial value was set or not
-
getMaxValue
public double getMaxValue()Returns the end value to be rendered on the dial.
Returns
the end value on the dial
-
setMaxValue
public void setMaxValue(double max) Sets the end value to be rendered on the dial.
Parameters
max: the end value on the dial
-
isMaxValueSet
public boolean isMaxValueSet()Returns if the maximum dial value was set.
Returns
the maximum dial was set or not
-
getMinorTicksSpacing
public double getMinorTicksSpacing()Returns the minor ticks spacing.
Returns
the minor ticks spacing
-
setMinorTicksSpacing
public void setMinorTicksSpacing(double spacing) Sets the minor ticks spacing.
Parameters
spacing: the minor ticks spacing
-
getMajorTicksSpacing
public double getMajorTicksSpacing()Returns the major ticks spacing.
Returns
the major ticks spacing
-
setMajorTicksSpacing
public void setMajorTicksSpacing(double spacing) Sets the major ticks spacing.
Parameters
spacing: the major ticks spacing
-
getVisualTypeForIndex
Returns the visual type at the specified index.
Parameters
index: the index
Returns
the visual type
-
setVisualTypes
Sets the visual types.
Parameters
types: the visual types
-