public interface ISecondaryChart extends IGradientPropertySet
Modifier and Type | Method and Description |
---|---|
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 |
isPointBorderColorBlack()
Returns true if the color of the data point border is black.
|
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 |
setPointBorderColorBlack(boolean b)
Set the color of data point border to black, otherwises, darker color of the symbol color.
|
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.
|
set3DShadingEnabled, setGradientCyclic, setGradientDesColor, setGradientEnabled, setGradientEndX, setGradientEndY, setGradientShade, setGradientStartX, setGradientStartY
getGradientDesColor, getGradientEndX, getGradientEndY, getGradientShade, getGradientStartX, getGradientStartY, is3DShadingEnabled, isGradientCyclic, isGradientEnabled
int getCombinationType()
setCombinationType(int)
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)
ILegend gethLegend()
ILegend
IAxis gethAxis()
IAxis
int[] getLineStyles()
IDataPointSet.getColors()
,
IDataPointSet.getLineStyles()
void setLineStyles(int[] style)
Associated QbChart property: SLINESTYLE
style
- The array of line styles.IDataPointSet.setLineStyles(int[])
boolean arePointsVisible()
IDataPointSet.arePointsVisible()
void setPointsVisible(boolean b)
Associated QbChart property: DRAW_SPOINT
b
- Set the display status for the secondary axis data points.IDataPointSet.setPointsVisible(boolean)
boolean isPointBorderVisible()
IDataPointSet.isPointBorderVisible()
void setPointBorderVisible(boolean b)
b
- Set the display status for the secondary axis data point border.IDataPointSet.setPointBorderVisible(boolean)
boolean isPointBorderColorBlack()
void setPointBorderColorBlack(boolean b)
b
- Set the color for the data point border to black.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)
boolean areConnectLinesVisible()
IDataPointSet.areConnectLinesVisible()
boolean isStepLineDrawn()
boolean isSelectiveStepLineUsed()
double getStepLineRatio()
void setStepLineRatio(double ratio)
boolean[] getSelectiveStepLineDrawn()
void setStepLineDrawn(boolean step)
void setSelectiveStepLineDrawn(boolean[] stepSelect)
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.void setValueSortOrder(int type)
Associated QbChart property: SVALUE_ORDER
type
- QbChart.ASCENDING or QBChart.DESCENDINGIDataPointSet.setValueSortOrder(int)
int[] getPointShapes()
IDataPointSet.getPointShapes()
void setPointShapes(int[] shapes)
Associated QbChart property: SDATASHAPE
shapes
- The array of shapes for the secondary axis points.IDataPointSet.setPointShapes(int[])
int[] getPointSizes()
IDataPointSet.getPointSizes()
void setPointSizes(int[] size)
Associated QbChart property: SDATASIZE
size
- The array of ints containing all the S axis point sizes.IDataPointSet.setPointSizes(int[])
int[] getDataLineThickness()
void setDataLineThickness(int[] lineThickness)
lineThickness
- The array of ints containing all the data line thickness.java.awt.Color[] getColors()
IDataPointSet.getColors()
void setColors(java.awt.Color[] color)
Associated QbChart property: SDATACOLOR
color
- The array containing the color scheme.IDataPointSet.setColors(java.awt.Color[])
IAxisRuler gethAxisRuler()
IAxisRuler
void setSwapAxis(boolean state)
state
- The new state of swap axisboolean isSwapAxis()
void setAlignAxisScale(boolean state)
state
- The new state of align axis scaleboolean isAlignAxisScale()
void setUsingPrimaryAxis(boolean state)
state
- The new state of using primary axisboolean isUsingPrimaryAxis()