public interface IOverlayPropertySet
A handle to an object that implements this interface can be obtained by calling the gethOverlayProperties method defined in QbChart.
eg. QbChart chart = new QbChart(...);
IOverlayPropertySet = chart.gethOverlayProperties();
| Modifier and Type | Field and Description |
|---|---|
static int |
NEWAXIS |
static int |
PRIMARYAXIS |
static int |
SECONDARYAXIS |
| Modifier and Type | Method and Description |
|---|---|
int |
getAxis(int index)
This method returns corresponding axis of the specific layer
|
int |
getAxisGapOffset()
This method returns the offset of axis gap
|
boolean |
getAxisPosition(int index)
This method returns corresponding axis of the specific layer
|
int |
getLayerCount()
This method counts the number of layers.
|
int |
getLayerType(int index)
This method returns the chart type of the specific layer
|
boolean |
isAutoAxisPosition()
This method returns whether the x position of axis is calculated automatically
|
boolean |
isOverlayTransparent()
Deprecated.
Please use @link IDataPointSet#isTranslucent()
|
void |
setAutoAxisPosition(boolean state)
This method sets the x position of axis is calculated automatically
|
void |
setAxis(int index,
int assignedAxis)
This method set the corresponding axis of the specific layer
|
void |
setAxisGapOffset(int offset)
This method set the offset of axis gap
|
void |
setAxisPosition(int index,
boolean useSecondaryAxis)
This method set the corresponding axis of the specific layer
|
void |
setLayerType(int index,
int chartType)
This method set the chart type of the specific layer
|
void |
setOverlayTransparent(boolean b)
Deprecated.
Please use @link IDataPointSet#setTranslucent(boolean b)
|
static final int NEWAXIS
static final int PRIMARYAXIS
static final int SECONDARYAXIS
int getLayerCount()
int getLayerType(int index)
index - index of the layersetLayerType(int, int)void setLayerType(int index,
int chartType)
index - index of the layerchartType - corresponding chart type. Options are:
invisible, set chartType = -1
QbChart.COL
QbChart.AREA
QbChart.LINEgetLayerType(int)boolean getAxisPosition(int index)
index - index of the layersetAxisPosition(int, boolean)void setAxisPosition(int index,
boolean useSecondaryAxis)
index - index of the layeruseSecondaryAxis - draw data base on secondary axis scalegetAxisPosition(int)int getAxis(int index)
index - index of the layersetAxis(int, int)void setAxis(int index,
int assignedAxis)
index - index of the layerassignedAxis - index of axisgetAxis(int)boolean isAutoAxisPosition()
setAutoAxisPosition(boolean)void setAutoAxisPosition(boolean state)
state - the state of auto axisisAutoAxisPosition()int getAxisGapOffset()
setAxisGapOffset(int)void setAxisGapOffset(int offset)
offset - the offset of axis gapgetAxisGapOffset()@Deprecated boolean isOverlayTransparent()
@Deprecated void setOverlayTransparent(boolean b)
state - The new state