|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.achartengine.renderer.DefaultRenderer
org.achartengine.renderer.DialRenderer
public class DialRenderer
Dial chart renderer.
| 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. |
java.lang.String |
getChartTitle()
Returns the chart title. |
float |
getChartTitleTextSize()
Returns the chart title text size. |
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 |
setChartTitle(java.lang.String title)
Sets the chart title. |
void |
setChartTitleTextSize(float textSize)
Sets the chart title text size. |
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DialRenderer()
| Method Detail |
|---|
public java.lang.String getChartTitle()
getChartTitle in class DefaultRendererpublic void setChartTitle(java.lang.String title)
setChartTitle in class DefaultRenderertitle - the chart titlepublic float getChartTitleTextSize()
getChartTitleTextSize in class DefaultRendererpublic void setChartTitleTextSize(float textSize)
setChartTitleTextSize in class DefaultRenderertextSize - the chart title text sizepublic 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 index
public void setVisualTypes(DialRenderer.Type[] types)
types - the visual types
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||