|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Properties for the secondary data points can be changed using the methods in this interface. A handle to an object that implements this interface can be obtained by calling the gethSecondaryChart method defined in QbChart.
| Method Summary | |
boolean |
areConnectLinesVisible()
Returns the display status of connect lines for the secondary axis. |
boolean |
arePointsVisible()
Gets the display status of the data points for the secondary axis. |
java.awt.Color[] |
getColors()
Returns the color scheme for the secondary axis data points plotted in the chart. |
int |
getCombinationType()
This function returns the combination chart type. |
int[] |
getDataLineThickness()
This function returns the line thickness for 2D charts |
IAxis |
gethAxis()
Returns a handle to the secondary axis properties. |
IAxisRuler |
gethAxisRuler()
Returns a handle to the axis ruler object for the secondary axis. |
ILegend |
gethLegend()
This function returns a handle to the legend properties for the secondary axis. |
int[] |
getLineStyles()
Returns the array of line styles used to draw the different connect lines along the secondary axis. |
int[] |
getPointShapes()
Returns the array of secondary axis data points shapes displayed in the chart. |
int[] |
getPointSizes()
Gets the point sizes for all the secondary axis points displayed in the chart. |
boolean[] |
getSelectiveStepLineDrawn()
Returns the boolean array used to determine which lines are step line in the selective step line |
double |
getStepLineRatio()
Returns the proportion of the horizontal to the overall step line segment |
boolean |
isAlignAxisScale()
Returns whether a chart use same scale system for primary and secondary axis if so, return true, else return false Not available for 100% percent column chart |
boolean |
isPointBorderVisible()
Gets the display status of the data point border for the secondary axis. |
boolean |
isSelectiveStepLineUsed()
Returns whether selective step line is used |
boolean |
isStepLineDrawn()
Returns if all of the datalines are drawn in the step line fashion |
boolean |
isSwapAxis()
Returns the state of the position of secondary axis. |
boolean |
isUsingPrimaryAxis()
Returns whether a chart use primary axis to plot secondary axis data if so, return true, else return false Only available for 2D line chart |
void |
setAlignAxisScale(boolean state)
Uses the same scale system for primary and secondary axis if the argument is true. |
void |
setColors(java.awt.Color[] color)
Sets a color scheme for the secondary axis data points. |
void |
setCombinationType(int comboType)
Sets the chart type for the secondary axis. |
void |
setConnectLinesVisible(boolean b)
Enables/Disables the drawing of connect lines for the secondary axis. |
void |
setDataLineThickness(int[] lineThickness)
Sets the line thickness for all the data lines displayed in the chart. |
void |
setLineStyles(int[] style)
This function sets the connect line styles for the secondary axis. |
void |
setPointBorderVisible(boolean b)
Enables/Disables the display of data point border for the secondary axis. |
void |
setPointShapes(int[] shapes)
Sets the point shapes for drawing the secondary axis data points. |
void |
setPointSizes(int[] size)
Sets the point sizes for all the secondary axis data points displayed in the chart. |
void |
setPointsVisible(boolean b)
Enables/Disables the display of data points for the secondary axis. |
void |
setSelectiveStepLineDrawn(boolean[] stepSelect)
Specifies which lines to draw in the Step Lines fashion. |
void |
setStepLineDrawn(boolean step)
Specifies Step Lines to be drawn for all lines. |
void |
setStepLineDrawn(boolean step,
double ratio)
Specifies Step Lines to be drawn, and the ratio where vertical lines are drawn to the next y value. |
void |
setStepLineRatio(double ratio)
Specifies the proportion of the horizontal to the overall step line segment |
void |
setSwapAxis(boolean state)
Sets the position of secondary axis. |
void |
setUsingPrimaryAxis(boolean state)
Plots secondary axis data base on primary axis if the argument is true. |
void |
setValueSortOrder(int type)
Sorts the secondary axis value column in Ascending or descending order. |
| Method Detail |
public int getCombinationType()
setCombinationType(int)public void setCombinationType(int comboType)
Associated QbChart property: COMBO_TYPE
comboType - The secondary axis chart type.
Available options are: QbChart.COMBO_LINE (line chart) QbChart.COMBO_STACKAREA (only valid for 2D stack column charts) QbChart.COMBO_COL (only valid for Hi-Lo and HLCO chart types) QbChart.COMBO_OVERLAY (only valid for 2D column, stack column, stack area, 100% column, Hi-Lo and HLCO chart types)
public ILegend gethLegend()
ILegendpublic IAxis gethAxis()
IAxispublic int[] getLineStyles()
IDataPointSet.getColors(),
IDataPointSet.getLineStyles()public void setLineStyles(int[] style)
Associated QbChart property: SLINESTYLE
style - The array of line styles.IDataPointSet.setLineStyles(int[])public boolean arePointsVisible()
IDataPointSet.arePointsVisible()public void setPointsVisible(boolean b)
Associated QbChart property: DRAW_SPOINT
b - Set the display status for the secondary axis data points.IDataPointSet.setPointsVisible(boolean)public boolean isPointBorderVisible()
IDataPointSet.isPointBorderVisible()public void setPointBorderVisible(boolean b)
b - Set the display status for the secondary axis data point border.IDataPointSet.setPointBorderVisible(boolean)public void setConnectLinesVisible(boolean b)
Associated QbChart property: DRAW_SLINE
b - Set to true/false to enable/disable display of connect lines
for the secondary axis data points.IDataPointSet.setConnectLinesVisible(boolean)public boolean areConnectLinesVisible()
IDataPointSet.areConnectLinesVisible()public boolean isStepLineDrawn()
public boolean isSelectiveStepLineUsed()
public double getStepLineRatio()
public void setStepLineRatio(double ratio)
public boolean[] getSelectiveStepLineDrawn()
public void setStepLineDrawn(boolean step)
public void setSelectiveStepLineDrawn(boolean[] stepSelect)
public void setStepLineDrawn(boolean step,
double ratio)
ratio - use 0.0 to draw vertical line first,
1.0 to draw horizontal lines till the next category,
or any number between 0.0 to 1.0 to specify where the "step" occurs.public void setValueSortOrder(int type)
Associated QbChart property: SVALUE_ORDER
type - QbChart.ASCENDING or QBChart.DESCENDINGIDataPointSet.setValueSortOrder(int)public int[] getPointShapes()
IDataPointSet.getPointShapes()public void setPointShapes(int[] shapes)
Associated QbChart property: SDATASHAPE
shapes - The array of shapes for the secondary axis points.IDataPointSet.setPointShapes(int[])public int[] getPointSizes()
IDataPointSet.getPointSizes()public void setPointSizes(int[] size)
Associated QbChart property: SDATASIZE
size - The array of ints containing all the S axis point sizes.IDataPointSet.setPointSizes(int[])public int[] getDataLineThickness()
public void setDataLineThickness(int[] lineThickness)
lineThickness - The array of ints containing all the data line thickness.public java.awt.Color[] getColors()
IDataPointSet.getColors()public void setColors(java.awt.Color[] color)
Associated QbChart property: SDATACOLOR
color - The array containing the color scheme.IDataPointSet.setColors(java.awt.Color[])public IAxisRuler gethAxisRuler()
IAxisRulerpublic void setSwapAxis(boolean state)
state - The new state of swap axispublic boolean isSwapAxis()
public void setAlignAxisScale(boolean state)
state - The new state of align axis scalepublic boolean isAlignAxisScale()
public void setUsingPrimaryAxis(boolean state)
state - The new state of using primary axispublic boolean isUsingPrimaryAxis()
|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||