org.achartengine.renderer
Class DialRenderer

java.lang.Object
  extended by org.achartengine.renderer.DefaultRenderer
      extended by org.achartengine.renderer.DialRenderer
All Implemented Interfaces:
java.io.Serializable

public class DialRenderer
extends DefaultRenderer

Dial chart renderer.

See Also:
Serialized Form

Nested Class Summary
static class DialRenderer.Type
           
 
Field Summary
 
Fields inherited from class org.achartengine.renderer.DefaultRenderer
BACKGROUND_COLOR, NO_COLOR, TEXT_COLOR
 
Constructor Summary
DialRenderer()
           
 
Method Summary
 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.
 
Methods inherited from class org.achartengine.renderer.DefaultRenderer
addSeriesRenderer, addSeriesRenderer, getAxesColor, getBackgroundColor, getChartTitle, getChartTitleTextSize, getLabelsColor, getLabelsTextSize, getLegendHeight, getLegendTextSize, getMargins, getOriginalScale, getScale, getSelectableBuffer, getSeriesRendererAt, getSeriesRendererCount, getSeriesRenderers, getStartAngle, getTextTypeface, getTextTypefaceName, getTextTypefaceStyle, getZoomRate, isAntialiasing, isApplyBackgroundColor, isClickEnabled, isDisplayValues, isExternalZoomEnabled, isFitLegend, isInScroll, isPanEnabled, isShowAxes, isShowCustomTextGrid, isShowGridX, isShowGridY, isShowLabels, isShowLegend, isZoomButtonsVisible, isZoomEnabled, removeAllRenderers, removeSeriesRenderer, setAntialiasing, setApplyBackgroundColor, setAxesColor, setBackgroundColor, setChartTitle, setChartTitleTextSize, setClickEnabled, setDisplayValues, setExternalZoomEnabled, setFitLegend, setInScroll, setLabelsColor, setLabelsTextSize, setLegendHeight, setLegendTextSize, setMargins, setPanEnabled, setScale, setSelectableBuffer, setShowAxes, setShowCustomTextGrid, setShowGrid, setShowGridX, setShowGridY, setShowLabels, setShowLegend, setStartAngle, setTextTypeface, setTextTypeface, setZoomButtonsVisible, setZoomEnabled, setZoomRate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialRenderer

public DialRenderer()
Method Detail

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

public DialRenderer.Type getVisualTypeForIndex(int index)
Returns the visual type at the specified index.

Parameters:
index - the index
Returns:
the visual type

setVisualTypes

public void setVisualTypes(DialRenderer.Type[] types)
Sets the visual types.

Parameters:
types - the visual types


Copyright © 2009 - 2011 4ViewSoft. All Rights Reserved.