com.microstrategy.web.objects.WebGraph |
![]() |
This object allows a user to manipulate and load a graph data stream.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
getAutosizeHorizontal()
Returns the autosize horizontal property
| ||||||||||
abstract boolean |
getAutosizeVertical()
Returns the autosize vertical property
| ||||||||||
abstract int |
getCategories()
Returns the number of graph rows fetched.
| ||||||||||
abstract String | getCoordinateString() | ||||||||||
abstract byte[] |
getData()
Returns a byte array representing the graph image.
| ||||||||||
abstract void |
getData(IContentConsumer consumer)
Obtains graph data from IServer and streams it to the provided content consumer
| ||||||||||
abstract String |
getErrorInGraph()
Returns an error number returned when attempting to execute a graph.
| ||||||||||
abstract SimpleList | getGraphAreas() | ||||||||||
abstract WebGraphProperties |
getGraphProperties(boolean populate)
retrieves graph properties
| ||||||||||
abstract WebGraphProperties |
getGraphProperties()
retrieves graph properties
| ||||||||||
abstract int |
getGraphTotalColumns()
Returns the total number of columns in this graph report.
| ||||||||||
abstract int |
getGraphTotalRows()
Returns the total number of rows in this graph report.
| ||||||||||
abstract int |
getGraphTypesAvailable()
Returns the available graph types for this particular report.
| ||||||||||
abstract int |
getHeight()
Returns the graph height in pixels.
| ||||||||||
abstract int |
getImageType()
Returns the current graph type.
| ||||||||||
abstract boolean |
getLoadCoordinate()
Returns the flag whether the graph need coordinate
| ||||||||||
abstract int |
getMajorType()
Returns the graph major type.
| ||||||||||
abstract int |
getMinorType()
Returns the graph minor type.
| ||||||||||
abstract WebResultWindow |
getResultWindow()
Returns the result window to be used in this report.
| ||||||||||
abstract int |
getSeries()
Returns the number of graph columns fetched.
| ||||||||||
abstract int |
getWidth()
Returns the graph width in pixels.
| ||||||||||
abstract boolean | isChartAvailable() | ||||||||||
abstract boolean |
isLinkedToControl()
Indicate whether this graph object linked to any control.
| ||||||||||
abstract void |
saveToDisk(String fileName)
Saves the current graph file to disk.
| ||||||||||
abstract void |
setAutosizeHorizontal(boolean _asH)
Sets the autosize horizontal property
| ||||||||||
abstract void |
setAutosizeVertical(boolean _asV)
Sets the autosize vertical property
| ||||||||||
abstract void |
setHeight(int graphHeight)
Sets the graph's height.
| ||||||||||
abstract void |
setImageType(int imageType)
Specifies the image type to be used for this report.
| ||||||||||
abstract void |
setLoadCoordinate(boolean loadCoordinate)
Set whether to request a graph's coordinate from server
| ||||||||||
abstract void |
setMajorType(int graphMajorType)
Sets the graph's major type.
| ||||||||||
abstract void |
setMinorType(int graphMinorType)
Sets the graph's minor type.
| ||||||||||
abstract void |
setWidth(int graphWidth)
Sets the graph's width.
|
Returns the autosize horizontal property
Returns the autosize vertical property
Returns the number of graph rows fetched.
Returns a byte array representing the graph image. This method applies the following properties: sessionID, messageID, windowSettings, stateID, graphImageType and graphProperty.
WebObjectsException | Thrown if the graph cannot be loaded. |
---|
Obtains graph data from IServer and streams it to the provided content consumer
consumer | Content consumer |
---|
WebObjectsException | |
WebObjectsException |
Returns an error number returned when attempting to execute a graph.
Returned from XSL pattern search: "/mi/rit/vw/vws/gpp/@en".
Returns a SimpleList
collection of WebGraphArea
objects for this particular
WebGraph
object. Each WebGraphArea object represents an 'area' on the graph image with
certain properties, and represents the underlying graph object.
WebObjectsException | |
WebObjectsException |
retrieves graph properties
populate | when set to true all graph properties are loaded. |
---|
WebObjectsException | |
WebObjectsException |
retrieves graph properties
WebObjectsException | |
WebObjectsException |
Returns the total number of columns in this graph report.
Returned from XSL search pattern: "/mi/rit/vw/vws/gpp/@tc".
Returns the total number of rows in this graph report.
Returned from XSL search pattern: "/mi/rit/vw/vws/gpp/@tr".
Returns the available graph types for this particular report.
Returned from XSL search pattern: "/mi/rit/vw/vws/gpp/@gta".
EnumDSSXMLMajorGraphTypes
enumeration.Returns the current graph type.
The default graph image type is DssXmlGraphImgGIF
EnumDSSXMLGraphImgTypes
Returns the flag whether the graph need coordinate
Returns the graph major type.
EnumDSSXMLMajorGraphTypes
.Returns the graph minor type.
EnumDSSXMLVAreaMinorTypes
EnumDSSXMLHAreaMinorTypes
EnumDSSXMLVBarMinorTypes
EnumDSSXMLHBarMinorTypes
EnumDSSXMLVLineMinorTypes
EnumDSSXMLHLineMinorTypes
EnumDSSXMLPieMinorTypes
EnumDSSXMLScatterMinorTypes
EnumDSSXMLPolarMinorTypes
EnumDSSXMLRadarMinorTypes
EnumDSSXMLBubbleMinorTypes
EnumDSSXMLHiloStockMinorTypes
EnumDSSXMLHistogramMinorTypes
EnumDSSXML3DRiserMinorTypes
EnumDSSXML3DFloatMinorTypes
EnumDSSXML3DConnGrpMinorTypes
EnumDSSXML3DConnSeriesMinorTypes
EnumDSSXML3DSurfaceMinorTypes
EnumDSSXML3DScatterMinorTypes
EnumDSSXMLGanttMinorTypes
Returns the result window to be used in this report.
WebResultWindow
object associated with this report.
Returns the number of graph columns fetched.
Indicate whether this graph object linked to any control.
Saves the current graph file to disk. This method applies the following properties: sessionID, messageID, windowSettings, stateID, graphImageType and graphProperty.
fileName | File name of the graph file to be produced; with a path if specified. |
---|
WebObjectsException | Thrown if the graph cannot be created and saved. |
---|
Sets the autosize horizontal property
Sets the autosize vertical property
Sets the graph's height.
graphHeight | The new graph's height in pixels. |
---|
IllegalArgumentException | Thrown if trying to set a height less than or equal to zero. |
---|
Specifies the image type to be used for this report.
imageType | Image type defined as EnumDSSXMLGraphImgTypes enumeration. |
---|
Set whether to request a graph's coordinate from server
IllegalArgumentException |
---|
Sets the graph's major type.
graphMajorType | The new major type, from EnumDSSXMLMajorGraphTypes . |
---|
IllegalArgumentException | Thrown if trying to set a major type less than or equal to zero. |
---|
Sets the graph's minor type.
IllegalArgumentException | Thrown if trying to set a minor type less than or equal to zero. |
---|
Sets the graph's width.
graphWidth | The new graph's width in pixels. |
---|
IllegalArgumentException | Thrown if trying to set a width less than or equal to zero. |
---|