public class DialRenderer extends DefaultRenderer
Modifier and Type | Class and Description |
---|---|
static class |
DialRenderer.Type |
BACKGROUND_COLOR, NO_COLOR, TEXT_COLOR
Constructor and Description |
---|
DialRenderer() |
Modifier and Type | Method and Description |
---|---|
double |
getAngleMax()
Returns the end angle value of the dial.
|
double |
getAngleMin()
Returns the start angle value of the dial.
|
double |
getMajorTicksSpacing()
Returns the major ticks spacing.
|
double |
getMaxValue()
Returns the end value to be rendered on the dial.
|
double |
getMinorTicksSpacing()
Returns the minor ticks spacing.
|
double |
getMinValue()
Returns the start value to be rendered on the dial.
|
DialRenderer.Type |
getVisualTypeForIndex(int index)
Returns the visual type at the specified index.
|
boolean |
isMaxValueSet()
Returns if the maximum dial value was set.
|
boolean |
isMinValueSet()
Returns if the minimum dial value was set.
|
void |
setAngleMax(double max)
Sets the end angle value of the dial.
|
void |
setAngleMin(double min)
Sets the start angle value of the dial.
|
void |
setMajorTicksSpacing(double spacing)
Sets the major ticks spacing.
|
void |
setMaxValue(double max)
Sets the end value to be rendered on the dial.
|
void |
setMinorTicksSpacing(double spacing)
Sets the minor ticks spacing.
|
void |
setMinValue(double min)
Sets the start value to be rendered on the dial.
|
void |
setVisualTypes(DialRenderer.Type[] types)
Sets the visual types.
|
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
public double getAngleMin()
public void setAngleMin(double min)
min
- the dial angle start valuepublic double getAngleMax()
public void setAngleMax(double max)
max
- the dial angle end valuepublic double getMinValue()
public void setMinValue(double min)
min
- the start value on the dialpublic boolean isMinValueSet()
public double getMaxValue()
public void setMaxValue(double max)
max
- the end value on the dialpublic boolean isMaxValueSet()
public double getMinorTicksSpacing()
public void setMinorTicksSpacing(double spacing)
spacing
- the minor ticks spacingpublic double getMajorTicksSpacing()
public void setMajorTicksSpacing(double spacing)
spacing
- the major ticks spacingpublic DialRenderer.Type getVisualTypeForIndex(int index)
index
- the indexpublic void setVisualTypes(DialRenderer.Type[] types)
types
- the visual types