public class

ReportGraphImageTransform

extends AbstractReportTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.AbstractWebBeanTransform
           ↳ com.microstrategy.web.app.transforms.AbstractReportTransform
             ↳ com.microstrategy.web.app.transforms.ReportGraphImageTransform

This class is deprecated.
Use GraphImageTransform

Class Overview

This is the transform which renders the acual graph image.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
protected FormalParameter _graphHeight Graph Height to use.
protected FormalParameter _graphImageFormat Graph Image Format to use.
protected FormalParameter _graphSize Graph Size to use.
protected FormalParameter _graphWidth Graph Width to use.
protected FormalParameter _shrinkGraphToHeight Graph height to shrink to if graph height is bigger than this value.
protected FormalParameter _shrinkGraphToWidth Graph width to shrink to if graph width is bigger than this value.
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractReportTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
ReportGraphImageTransform()
default no-args constructor.
Public Methods
String getDescription()
Return the description for this Transform.
void renderShell(MarkupOutput out)

Generates the shell for this Transform.

void transformForRequestSuccessful(MarkupOutput out)
Transform the report bean when its status is "Successful".
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.AbstractReportTransform
From class com.microstrategy.web.app.transforms.AbstractWebBeanTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
From class com.microstrategy.web.transform.AbstractLayoutTransform
From class com.microstrategy.web.transform.AbstractTransform
From class java.lang.Object
From interface com.microstrategy.web.app.transforms.AppTransform
From interface com.microstrategy.web.transform.Transform

Fields

protected FormalParameter _graphHeight

Graph Height to use.
It's applicable only if _graphSize is set to PreferencesGraphTransform.GRAPH_USE_USER_SIZE.
Allowed Values: integer values

protected FormalParameter _graphImageFormat

Graph Image Format to use.
Allowed Values:
PreferencesGraphTransform.GRAPH_IMAGE_TYPE_REPORT
PreferencesGraphTransform.GRAPH_IMAGE_TYPE_GIF
PreferencesGraphTransform.GRAPH_IMAGE_TYPE_JPEG

protected FormalParameter _graphSize

Graph Size to use.
Allowed Values:
PreferencesGraphTransform.GRAPH_USE_REPORT_SIZE
PreferencesGraphTransform.GRAPH_USE_USER_SIZE

protected FormalParameter _graphWidth

Graph Width to use.
It's applicable only if _graphSize is set to PreferencesGraphTransform.GRAPH_USE_USER_SIZE.
Allowed Values: integer values

protected FormalParameter _shrinkGraphToHeight

Graph height to shrink to if graph height is bigger than this value.
If it's -1, it means not shrink at all. Allowed Values: integer values

protected FormalParameter _shrinkGraphToWidth

Graph width to shrink to if graph width is bigger than this value.
If it's -1, it means not shrink at all. Allowed Values: integer values

Public Constructors

public ReportGraphImageTransform ()

default no-args constructor.
It created the formal parameters and assign default values to them.

Public Methods

public String getDescription ()

Return the description for this Transform.

Returns
  • The description as to what this Transform does.

public void renderShell (MarkupOutput out)

Generates the shell for this Transform.

The shell is a <div> tag that automatically surrounds the content generated by the Transform. It's used among other things by the javascript to identify the HTML associated with a bone, and by the iFrame update technology to identify a component in the page.

The attributes to append to this <div> are obtained from the getAttributesShellDiv method; the style from the getStyleShellDiv method.
This method calls renderCssLink and checkStatus to generate the Transform's content.

Parameters
out output by this transform

public void transformForRequestSuccessful (MarkupOutput out)

Transform the report bean when its status is "Successful".

Parameters
out Output by this transform