oracle.dss.graph
Class GraphUtils
java.lang.Object
oracle.dss.graph.GraphUtils
public class GraphUtils
- extends java.lang.Object
- For internal use only. Application developers should not use this
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_GROUP
public static final int DEFAULT_GROUP
- See Also:
- Constant Field Values
- For internal use only. Application developers should not use this
STOCK_GROUP
public static final int STOCK_GROUP
- See Also:
- Constant Field Values
- For internal use only. Application developers should not use this
BUBBLE_GROUP
public static final int BUBBLE_GROUP
- See Also:
- Constant Field Values
- For internal use only. Application developers should not use this
SCATTER_GROUP
public static final int SCATTER_GROUP
- See Also:
- Constant Field Values
- For internal use only. Application developers should not use this
POLAR_GROUP
public static final int POLAR_GROUP
- See Also:
- Constant Field Values
- For internal use only. Application developers should not use this
GraphUtils
public GraphUtils()
getGraphTypeGroup
public static int getGraphTypeGroup(int type)
- For internal use only. Application developers should not use this
verifyGraphMeasureLayout
public static void verifyGraphMeasureLayout(CommonGraph graph)
throws DataException
- Throws:
DataException
is3DDisabled
public static boolean is3DDisabled(GraphTypeConverter converter,
UIGraphType graph)
- For internal use only. Application developers should not use this
- Returns whether the 3D tool should be disabled
isGradientDisabled
public static boolean isGradientDisabled(int graphType)
- For internal use only. Application developers should not use this
- Returns whether the gradient tool should be disabled.
The gradient tool will be disabled for:
1. 3D Graphs in the 3.2 release. See enhancement 3559786.
2. Line Graphs.
3. Hi-Lo-Close and Open-Hi-Lo-Close stock graph types.
Both of these stock graph contain only linear data markers.
The gradient tool will enabled for the other supported types of stock graph,
all of which contain candle or volume markers.
is3DDisabled
public static boolean is3DDisabled(Graph graph)
- For internal use only. Application developers should not use this
- Returns whether the 3D tool should be disabled
Referenced by Thin GraphTool and GraphStylePage
isGradientDisabled
public static boolean isGradientDisabled(Graph graph)
- For internal use only. Application developers should not use this
- Returns whether the gradient tool should be disabled.
The gradient tool will be disabled for:
1. 3D Graphs in the 3.2 release. See enhancement 3559786.
2. Line Graphs.
3. Hi-Lo-Close and Open-Hi-Lo-Close stock graph types.
Both of these stock graph contain only linear data markers.
The gradient tool will enabled for the other supported types of stock graph,
all of which contain candle or volume markers.
Referenced by Thick GraphStylePanel, Thin GraphTool and GraphStylePage
isBubbleGraph
public static boolean isBubbleGraph(int graphType)
- Parameters:
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.
- Returns:
true
if the specified graph type is a bubble graph,
false
if it is not.- For internal use only. Application developers should not use this
- Indicates whether the specified graph type is a bubble graph.
isLineGraph
public static boolean isLineGraph(int graphType)
- Parameters:
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.
- Returns:
true
if the specified graph type is a line graph,
false
if it is not.- For internal use only. Application developers should not use this
- Indicates whether the specified graph type is a line graph.
isPieGraph
public static boolean isPieGraph(int graphType)
- Parameters:
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.
- Returns:
true
if the specified graph type is a pie graph,
false
if it is not.- For internal use only. Application developers should not use this
- Indicates whether the specified graph type is a pie graph.
isPolarGraph
public static boolean isPolarGraph(int graphType)
- Parameters:
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.
- Returns:
true
if the specified graph type is a polar graph,
false
if it is not.- For internal use only. Application developers should not use this
- Indicates whether the specified graph type is a polar graph.
isRadarGraph
public static boolean isRadarGraph(int graphType)
- Parameters:
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.
- Returns:
true
if the specified graph type is a radar graph,
false
if it is not.- For internal use only. Application developers should not use this
- Indicates whether the specified graph type is a radar graph.
isScatterGraph
public static boolean isScatterGraph(int graphType)
- Parameters:
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.
- Returns:
true
if the specified graph type is a scatter graph,
false
if it is not.- For internal use only. Application developers should not use this
- Indicates whether the specified graph type is a scatter graph.
isStockGraph
public static boolean isStockGraph(int graphType)
- Parameters:
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.
- Returns:
true
if the specified graph type is a stock graph,
false
if it is not.- For internal use only. Application developers should not use this
- Indicates whether the specified graph type is a stock graph.
isPercentGraph
public static boolean isPercentGraph(int graphType)
- Parameters:
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.
- Returns:
true
if the specified graph type is a percent graph,
false
if it is not.- For internal use only. Application developers should not use this
- Indicates whether the specified graph type is a percent graph.
is3DGraph
public static boolean is3DGraph(int graphType)
- Parameters:
graphType
- A constant that indicates the graph type to check.
Valid constants are the valid contants for
Graph.setGraphType(int)
.
- Returns:
true
if the specified graph type is a three-dimensional graph,
false
if it is not.- For internal use only. Application developers should not use this
- Indicates whether the specified graph type is a three-dimensional graph.
isDotType
public static boolean isDotType(int graphType)
isLegendEnabled
public static boolean isLegendEnabled(int graphType)
- For internal use only. Application developers should not use this
isCandleOrVolume
public static boolean isCandleOrVolume(int graphType)
getSeriesCount
public static int getSeriesCount(CommonGraph graph)
isAllSeriesSupported
public static boolean isAllSeriesSupported(int graphType)
isMarkerTypeSupported
public static boolean isMarkerTypeSupported(int graphType)
- For internal use only. Application developers should not use this
isLineSupported
public static boolean isLineSupported(CommonGraph graph)
- For internal use only. Application developers should not use this
isMarkerShapeSupported
public static boolean isMarkerShapeSupported(int graphType)
- For internal use only. Application developers should not use this
isFitlineSupported
public static boolean isFitlineSupported(int graphType)
- For internal use only. Application developers should not use this
isAssignedToY2Supported
public static boolean isAssignedToY2Supported(int graphType)
- For internal use only. Application developers should not use this
isReferenceLineSupported
public static boolean isReferenceLineSupported(int graphType)
- For internal use only. Application developers should not use this
isDataLabelInTheCenterSupported
public static boolean isDataLabelInTheCenterSupported(int graphType)
- If current graph type supports displaying the data labels
in the center then return true
getDataLabelString
public static java.lang.String getDataLabelString(CommonGraph graph)
- returning the string that represents type of the current graph
isGridlineSupported
public static boolean isGridlineSupported(int graphType)
isO1AxisSupported
public static boolean isO1AxisSupported(int graphType)
hasGradient
public static boolean hasGradient(CommonGraph graph)
isBarGraph
public static boolean isBarGraph(int graphType)
isHorizontalBarGraph
public static boolean isHorizontalBarGraph(int graphType)
isAreaGraph
public static boolean isAreaGraph(int graphType)
Copyright © 1997, 2009, Oracle. All rights reserved.