Class TimeSeriesVisualizationDataTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.app.transforms.AbstractBasicReportTransform
-
- com.microstrategy.web.app.transforms.AbstractBasicMojoVisualizationDataTransform
-
- com.microstrategy.web.app.transforms.TimeSeriesVisualizationDataTransform
-
- All Implemented Interfaces:
Transform
public class TimeSeriesVisualizationDataTransform extends AbstractBasicMojoVisualizationDataTransform
This transform generates the report data needed for the Mojo Time Seies Visualization. Its output format is JSON
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractBasicReportTransform
_bean, _rb, _rwb, _vb
-
-
Constructor Summary
Constructors Constructor Description TimeSeriesVisualizationDataTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringformatCategoryValue(WebRowValue rowVal)Returns the value to be displayed on the X Axis labels.java.lang.StringgetDescription()Returns a textual description of the transform.protected booleanisSubtotal(WebRow wr)Determines whether a particular row is to display a subtotalvoidpopulateGridBlock(Block gridBlock)protected voidsetVisProp(Block blockList, java.lang.String propName, java.lang.String propVal)-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractBasicMojoVisualizationDataTransform
getAppContext, getVisProps, render
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractBasicReportTransform
addFormalParameter, getElemsMapHelper, getGraphBean, getGridData, getHyperLinkHelper, getReportBean, getRWBean, getSupportedBeanType, getViewBean, getWebGridData, getWebReportGrid, getWebTemplate, initBeans, initGridData, isDesignMode, isFeatureAvailable, isReport, isTrue, supports, transform
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, canTransform, getEvents, getFormalParams, getID, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports
-
-
-
-
Method Detail
-
populateGridBlock
public void populateGridBlock(Block gridBlock)
- Specified by:
populateGridBlockin classAbstractBasicMojoVisualizationDataTransform
-
isSubtotal
protected boolean isSubtotal(WebRow wr)
Determines whether a particular row is to display a subtotal- Parameters:
wr-
-
formatCategoryValue
protected java.lang.String formatCategoryValue(WebRowValue rowVal)
Returns the value to be displayed on the X Axis labels.
For dates it returns the number of milliseconds since January 1st 170 as needed by JavaScript.- Parameters:
rowVal- The Web Row Value- Returns:
- the value to be displayed on the X Axis labels.
-
setVisProp
protected void setVisProp(Block blockList, java.lang.String propName, java.lang.String propVal)
- Overrides:
setVisPropin classAbstractBasicMojoVisualizationDataTransform
-
getDescription
public java.lang.String getDescription()
Description copied from interface:TransformReturns a textual description of the transform.- Specified by:
getDescriptionin interfaceTransform- Overrides:
getDescriptionin classAbstractBasicMojoVisualizationDataTransform- Returns:
- The textual description of the transform.
-
-