public class

ReportGridGraphTransformImpl

extends AbstractReportDataTransform
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.AbstractReportDataTransform
               ↳ com.microstrategy.web.app.transforms.ReportGridGraphTransformImpl

Class Overview

Provides a graph view to the report bean. This same transform is also used to render the grid-graph view. This behaviour is controlled by a formal parameter.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractReportDataTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
protected FormalParameter graphStyle This is the name of the style for the graph if we want to show the grid along with the graph.
protected FormalParameter gridStyle This is the name of the style for the grid if we want to show the grid along with the graph.
protected FormalParameter outlineGridStyle This is the name of the style for the grid if we want to show the grid in outline mode along with the graph.
protected FormalParameter showGraphBeforeGrid This field is deprecated. It's now recommended to modify the layout-xml to decide where to position the grid
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractReportDataTransform
From class com.microstrategy.web.app.transforms.AbstractReportTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
ReportGridGraphTransformImpl()
default no-args constructor
Public Methods
String getDescription()
Return description for this Transform
boolean hasCenter()
This method is deprecated. This method has been deprecated and will be removed in future versions of the product. In its place, use a layout-xml to control the output.
void renderCenter(MarkupOutput out, ReportBean rb)
void renderData(MarkupOutput out, ReportBean rb)
void renderEmptyCase(MarkupOutput out, ReportBean rb)
void renderGraph(MarkupOutput out)
void renderGraphData(MarkupOutput out, ReportBean rb)
void renderGrid(MarkupOutput out)
void renderGridData(MarkupOutput out, ReportBean rb)
render the grid part.
void renderJavascript(MarkupOutput out)
This method renders the javascript code that needs to be generated on the server side because its content is dynamic.
void renderLayout(MarkupOutput out, ReportBean rb)
Protected Methods
String getGraphStyle()
String getGridStyle()
boolean isDesignMode()
This methods allows the transform to identify if concrete subclasses are designed to work in design mode, or in execute mode.
boolean isGraphTransform()
boolean isGridTransform()
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.AbstractReportDataTransform
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.app.transforms.ReportDataTransform
From interface com.microstrategy.web.transform.LayoutTransform
From interface com.microstrategy.web.transform.Transform

Fields

protected FormalParameter graphStyle

This is the name of the style for the graph if we want to show the grid along with the graph.
Allowed Values: any report style name from StyelCatalog.xml file.

protected FormalParameter gridStyle

This is the name of the style for the grid if we want to show the grid along with the graph.
Allowed Values: any report style name from StyelCatalog.xml file.

protected FormalParameter outlineGridStyle

This is the name of the style for the grid if we want to show the grid in outline mode along with the graph.
sAllowed Values: any outline mode report style name from StyelCatalog.xml file.

protected FormalParameter showGraphBeforeGrid

This field is deprecated.
It's now recommended to modify the layout-xml to decide where to position the grid

This flag is used to decide if we need to show the graph before the grid in the Grid-Graph mode.
Allowed Values: TRUE/FALSE.

Public Constructors

public ReportGridGraphTransformImpl ()

default no-args constructor

Public Methods

public String getDescription ()

Return description for this Transform

Returns
  • The description as to what this Transform does.

public boolean hasCenter ()

This method is deprecated.
This method has been deprecated and will be removed in future versions of the product. In its place, use a layout-xml to control the output.

Whether the transform has the center area. Out of box, it returns true.

Returns
  • Whether the transform has the center area

public void renderCenter (MarkupOutput out, ReportBean rb)

public void renderData (MarkupOutput out, ReportBean rb)

public void renderEmptyCase (MarkupOutput out, ReportBean rb)

public void renderGraph (MarkupOutput out)

public void renderGraphData (MarkupOutput out, ReportBean rb)

public void renderGrid (MarkupOutput out)

public void renderGridData (MarkupOutput out, ReportBean rb)

render the grid part.
Out of box, it's called from renderData() method.

Parameters
out output by this transform
rb this report bean

public void renderJavascript (MarkupOutput out)

This method renders the javascript code that needs to be generated on the server side because its content is dynamic. In particular this method invokes renderRegisterBone which initializes and registers a grid's bone..

Parameters
out MarkupOutput to generate the HTML.

public void renderLayout (MarkupOutput out, ReportBean rb)

Protected Methods

protected String getGraphStyle ()

protected String getGridStyle ()

protected boolean isDesignMode ()

This methods allows the transform to identify if concrete subclasses are designed to work in design mode, or in execute mode.

Returns
  • false by default. Any inherting class should override to implement its own version.

protected boolean isGraphTransform ()

protected boolean isGridTransform ()