|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.styles.Series
com.steema.teechart.styles.Circular
com.steema.teechart.styles.CustomPolar
public class CustomPolar
Title: CustomPolar class
Description: CustomPolar Series.
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.steema.teechart.styles.Series |
|---|
Series.MarkTextResolver |
| Field Summary | |
|---|---|
protected int |
iMaxValuesCount
|
protected SeriesPointer |
iPointer
|
| Fields inherited from class com.steema.teechart.styles.Circular |
|---|
iCircleXCenter, iCircleYCenter, iXRadius, iYRadius, PIDEGREE, rCircleRect, rotDegree |
| Fields inherited from class com.steema.teechart.styles.Series |
|---|
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, InternalUse, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory |
| Fields inherited from class com.steema.teechart.TeeBase |
|---|
chart |
| Constructor Summary | |
|---|---|
CustomPolar()
|
|
CustomPolar(IBaseChart c)
|
|
| Method Summary | |
|---|---|
int |
calcXPos(int valueIndex)
Returns the pixel Screen Horizontal coordinate of the ValueIndex Series value. |
int |
calcYPos(int valueIndex)
Returns the pixel Screen Vertical coordinate of the ValueIndex Series value. |
int |
clicked(int x,
int y)
The ValueIndex of the "clicked" point in the Series. |
protected boolean |
clickedSegment(java.awt.Point p,
java.awt.Point tmp,
java.awt.Point old)
|
protected void |
doAfterDrawValues()
|
protected void |
doBeforeDrawValues()
|
protected void |
draw()
|
protected void |
drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle rect)
|
protected void |
drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition position)
|
void |
drawRing(double value,
int z)
|
void |
drawValue(int valueIndex)
Called internally. |
void |
drawZone(double min,
double max,
int z)
|
double |
getAngleIncrement()
The Bottom Axis is used as Angle axis. |
ValueList |
getAngleValues()
Gets list of angle values for each polar point. |
ChartBrush |
getBrush()
Sets Polar Back Brush. |
java.awt.Point |
getCircleCenter()
|
protected java.lang.String |
getCircleLabel(double angle,
int index)
|
boolean |
getCircleLabels()
Sets CicleLabel properties. |
ChartFont |
getCircleLabelsFont()
The Font characteristics for the labels of a circular TeeChart. |
boolean |
getCircleLabelsInside()
Enables/disables the display of the axis labels inside the circle area. |
boolean |
getCircleLabelsRotated()
Places Circle Labels at an angle in line with the Radar/Polar circle at each Label point when true. |
ChartPen |
getCirclePen()
Determines the pen used to draw the outmost circle of all CustomPolar series derived Series. |
boolean |
getClockWiseLabels()
Displays the circle labels in a clockwise direction. |
boolean |
getCloseCircle()
Draws a Line between the last and first PolarSeries point coordinates. |
ChartFont |
getFont()
The label font characteristics. |
ChartPen |
getPen()
Determines Pen used to draw the Line connecting PolarSeries points. |
SeriesPointer |
getPointer()
Pointer contains several properties to control the formatting attributes of Points like Pen, Brush, Draw3D, Visible, etc. |
double |
getRadiusIncrement()
Determines the increment used to draw the ring grid lines. |
ValueList |
getRadiusValues()
Gets list of radius values for each polar point. |
int |
getTransparency()
The Transparency level from 0 to 100%. |
protected double |
getXValue(int valueIndex)
|
void |
prepareForGallery(boolean isEnabled)
|
void |
setAngleIncrement(double value)
|
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setCircleLabels(boolean value)
Sets CicleLabel properties. |
void |
setCircleLabelsInside(boolean value)
Enables/disables the display of the axis labels inside the circle area. |
void |
setCircleLabelsRotated(boolean value)
Places Circle Labels at an angle in line with the Radar/Polar circle at each Label point when true. |
void |
setClockWiseLabels(boolean value)
Displays the circle labels in a clockwise direction when true. |
void |
setCloseCircle(boolean value)
Draws a Line between the last and first PolarSeries point coordinates. |
void |
setColor(Color c)
Default color for all points. |
void |
setRadiusIncrement(double value)
Sets the increment used to draw the ring grid lines. |
void |
setTransparency(int value)
Sets Transparency level from 0 to 100%. |
| Methods inherited from class com.steema.teechart.TeeBase |
|---|
getChart, invalidate, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.steema.teechart.styles.ISeries |
|---|
getChart, invalidate |
| Field Detail |
|---|
protected SeriesPointer iPointer
protected int iMaxValuesCount
| Constructor Detail |
|---|
public CustomPolar()
public CustomPolar(IBaseChart c)
| Method Detail |
|---|
public ChartFont getCircleLabelsFont()
public java.awt.Point getCircleCenter()
protected boolean clickedSegment(java.awt.Point p,
java.awt.Point tmp,
java.awt.Point old)
public int clicked(int x,
int y)
clicked in interface ISeriesclicked in class Seriesx - inty - int
protected double getXValue(int valueIndex)
public double getAngleIncrement()
public ValueList getAngleValues()
public ValueList getRadiusValues()
protected void doAfterDrawValues()
doAfterDrawValues in class Seriesprotected void doBeforeDrawValues()
doBeforeDrawValues in class Circularprotected void draw()
draw in class Series
protected void drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle rect)
drawLegendShape in class Series
protected void drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition position)
drawMark in class Seriespublic void drawValue(int valueIndex)
drawValue in interface ISeriesdrawValue in class SeriesvalueIndex - int
protected java.lang.String getCircleLabel(double angle,
int index)
public void prepareForGallery(boolean isEnabled)
prepareForGallery in class Seriespublic void setChart(IBaseChart c)
TeeBase
setChart in interface ISeriessetChart in class Circularc - IBaseChartpublic void setColor(Color c)
Series
setColor in class Seriesc - ColorSeries.getColorEach()public int calcXPos(int valueIndex)
calcXPos in class SeriesvalueIndex - int
public int calcYPos(int valueIndex)
calcYPos in class SeriesvalueIndex - int
public void drawZone(double min,
double max,
int z)
public void drawRing(double value,
int z)
public void setAngleIncrement(double value)
public ChartBrush getBrush()
public boolean getCircleLabels()
public void setCircleLabels(boolean value)
value - booleanpublic ChartFont getFont()
public boolean getCircleLabelsInside()
public void setCircleLabelsInside(boolean value)
value - booleanpublic boolean getCircleLabelsRotated()
public void setCircleLabelsRotated(boolean value)
value - booleanpublic ChartPen getCirclePen()
public boolean getClockWiseLabels()
public void setClockWiseLabels(boolean value)
value - booleanpublic boolean getCloseCircle()
public void setCloseCircle(boolean value)
value - booleanpublic ChartPen getPen()
public SeriesPointer getPointer()
public double getRadiusIncrement()
public void setRadiusIncrement(double value)
throws ChartException
value - double
TeeChartException
ChartExceptionpublic int getTransparency()
public void setTransparency(int value)
value - int
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||