public interface IPolarPropertySet
A handle to an object that implements this interface can be obtained by calling the gethPolarProperties method defined in QbChart.
eg. QbChart chart = new QbChart(...);
IPolarPropertySet polar = chart.gethPolarProperties();
| Modifier and Type | Method | Description |
|---|---|---|
int |
countLabelOffset() |
This method returns number of label offset
|
java.awt.Dimension |
getLabelOffset(int index) |
This method returns the offset for specific label
|
int |
getSectorCount() |
This method counts number of sectors
|
double |
getStartAngle() |
This method returns the starting angle of the chart (12pm position is 0, default: clockwise)
|
boolean |
isAngleInRadian() |
This method returns the angle scale unit.
|
boolean |
isClockwise() |
This method returns the drawing direction TRUE: Clockwise FALSE: Counter-clockwise
|
void |
setAngleInRadian(boolean b) |
This method set the angle scale unit.
|
void |
setClockwise(boolean state) |
This method set the drawing direction TRUE: Clockwise FALSE: Counter-clockwise
|
void |
setLabelOffset(java.awt.Dimension[] offset) |
This method set offset for all labels
|
void |
setLabelOffset(int index,
java.awt.Dimension offset) |
This method set the offset for specific label
|
void |
setSectorCount(int ct) |
This method set number of sectors
|
void |
setStartAngle(double angle) |
This method set the starting angle of the chart (12pm position is 0 degree, default:
clockwise)
|
int getSectorCount()
void setSectorCount(int ct)
ct - number of sectorsdouble getStartAngle()
void setStartAngle(double angle)
angle - the starting angle (default: in radian)boolean isAngleInRadian()
setAngleInRadian(boolean)void setAngleInRadian(boolean b)
unit - using radian scaleisAngleInRadian()boolean isClockwise()
setClockwise(boolean)void setClockwise(boolean state)
state - the drawing directionisClockwise()java.awt.Dimension getLabelOffset(int index)
index - the index of the label (ticker position)void setLabelOffset(int index,
java.awt.Dimension offset)
index - the index of the label (ticker position)offset - the label offset dimensionvoid setLabelOffset(java.awt.Dimension[] offset)
offset - array of labels offset dimensionint countLabelOffset()