@Concealed
public class GraphUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BUBBLE_GROUP |
static int |
DEFAULT_GROUP |
static int |
POLAR_GROUP |
static int |
SCATTER_GROUP |
static int |
STOCK_GROUP |
Constructor and Description |
---|
GraphUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDataLabelString(CommonGraph graph)
returning the string that represents type of the current graph
|
static int |
getGraphTypeGroup(int type) |
static int |
getSeriesCount(CommonGraph graph) |
static boolean |
hasGradient(CommonGraph graph) |
static boolean |
is3DDisabled(Graph graph) |
static boolean |
is3DDisabled(GraphTypeConverter converter,
UIGraphType graph) |
static boolean |
is3DGraph(int graphType) |
static boolean |
isAllSeriesSupported(int graphType) |
static boolean |
isAreaGraph(int graphType) |
static boolean |
isAssignedToY2Supported(int graphType) |
static boolean |
isBarGraph(int graphType) |
static boolean |
isBubbleGraph(int graphType) |
static boolean |
isCandleOrVolume(int graphType) |
static boolean |
isDataLabelInTheCenterSupported(int graphType)
If current graph type supports displaying the data labels
in the center then return true
|
static boolean |
isDotType(int graphType) |
static boolean |
isFitlineSupported(int graphType) |
static boolean |
isGradientDisabled(Graph graph) |
static boolean |
isGradientDisabled(int graphType) |
static boolean |
isGridlineSupported(int graphType) |
static boolean |
isHorizontalBarGraph(int graphType) |
static boolean |
isLegendEnabled(int graphType) |
static boolean |
isLineGraph(int graphType) |
static boolean |
isLineSupported(CommonGraph graph) |
static boolean |
isMarkerShapeSupported(int graphType) |
static boolean |
isMarkerTypeSupported(int graphType) |
static boolean |
isO1AxisSupported(int graphType) |
static boolean |
isPercentGraph(int graphType) |
static boolean |
isPieGraph(int graphType) |
static boolean |
isPolarGraph(int graphType) |
static boolean |
isRadarGraph(int graphType) |
static boolean |
isReferenceLineSupported(int graphType) |
static boolean |
isScatterGraph(int graphType) |
static boolean |
isStockGraph(int graphType) |
static void |
verifyGraphMeasureLayout(CommonGraph graph) |
@Concealed public static final int DEFAULT_GROUP
@Concealed public static final int STOCK_GROUP
@Concealed public static final int BUBBLE_GROUP
@Concealed public static final int SCATTER_GROUP
@Concealed public static final int POLAR_GROUP
@Concealed public static int getGraphTypeGroup(int type)
@Concealed public static void verifyGraphMeasureLayout(CommonGraph graph) throws DataException
DataException
@Concealed public static boolean is3DDisabled(GraphTypeConverter converter, UIGraphType graph)
@Concealed public static boolean isGradientDisabled(int graphType)
@Concealed public static boolean is3DDisabled(Graph graph)
@Concealed public static boolean isGradientDisabled(Graph graph)
@Concealed public static boolean isBubbleGraph(int graphType)
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.true
if the specified graph type is a bubble graph,
false
if it is not.@Concealed public static boolean isLineGraph(int graphType)
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.true
if the specified graph type is a line graph,
false
if it is not.@Concealed public static boolean isPieGraph(int graphType)
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.true
if the specified graph type is a pie graph,
false
if it is not.@Concealed public static boolean isPolarGraph(int graphType)
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.true
if the specified graph type is a polar graph,
false
if it is not.@Concealed public static boolean isRadarGraph(int graphType)
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.true
if the specified graph type is a radar graph,
false
if it is not.@Concealed public static boolean isScatterGraph(int graphType)
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.true
if the specified graph type is a scatter graph,
false
if it is not.@Concealed public static boolean isStockGraph(int graphType)
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.true
if the specified graph type is a stock graph,
false
if it is not.@Concealed public static boolean isPercentGraph(int graphType)
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.true
if the specified graph type is a percent graph,
false
if it is not.@Concealed public static boolean is3DGraph(int graphType)
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.true
if the specified graph type is a three-dimensional graph,
false
if it is not.public static boolean isDotType(int graphType)
@Concealed public static boolean isLegendEnabled(int graphType)
public static boolean isCandleOrVolume(int graphType)
public static int getSeriesCount(CommonGraph graph)
public static boolean isAllSeriesSupported(int graphType)
@Concealed public static boolean isMarkerTypeSupported(int graphType)
@Concealed public static boolean isLineSupported(CommonGraph graph)
@Concealed public static boolean isMarkerShapeSupported(int graphType)
@Concealed public static boolean isFitlineSupported(int graphType)
@Concealed public static boolean isAssignedToY2Supported(int graphType)
@Concealed public static boolean isReferenceLineSupported(int graphType)
public static boolean isDataLabelInTheCenterSupported(int graphType)
public static java.lang.String getDataLabelString(CommonGraph graph)
public static boolean isGridlineSupported(int graphType)
public static boolean isO1AxisSupported(int graphType)
public static boolean hasGradient(CommonGraph graph)
public static boolean isBarGraph(int graphType)
public static boolean isHorizontalBarGraph(int graphType)
public static boolean isAreaGraph(int graphType)