Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


oracle.dss.graph
Class GraphUtils

java.lang.Object
  extended by oracle.dss.graph.GraphUtils


public class GraphUtils
extends java.lang.Object
For internal use only. Application developers should not use this

Field Summary
static int BUBBLE_GROUP
           
static int DEFAULT_GROUP
           
static int POLAR_GROUP
           
static int SCATTER_GROUP
           
static int STOCK_GROUP
           

 

Constructor Summary
GraphUtils()
           

 

Method Summary
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)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

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

Constructor Detail

GraphUtils

public GraphUtils()

Method Detail

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)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


Copyright © 1997, 2012, Oracle. All rights reserved.