Class ReportGraphTransformImpl
- 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.ReportGraphTransformImpl
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 AppTransform,ReportDataTransform,LayoutTransform,Transform
- Direct Known Subclasses:
 ReportGraphDesignTransform,RWReportGraphDropZoneTransformImpl
public class ReportGraphTransformImpl extends AbstractReportDataTransform
Provides a graph view to the report bean.- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description classReportGraphTransformImpl.GraphAreaContext- 
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
AbstractAppTransform.Context 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description protected ClientSideHelper_graphClientSideHelperprotected FormalParameterdropShadowDepthstatic java.lang.StringFP_HELP_TOPICConstant specifying the name of the formal parameter for specifying the help topic for the help of the editorstatic java.lang.StringFP_HELP_TYPEConstant specifying the type of the help file this editor should point toprotected FormalParametergraphHeightGraph Height to use.protected FormalParametergraphImageFormatGraph Image Format to use.protected FormalParametergraphSizeGraph Size to use.protected FormalParametergraphWidthGraph Width to use.FormalParameterhelpTopicIndicates the help topic for the help page of the editor.FormalParameterhelpTypeIndicates the type of help topic this editor uses.protected FormalParameterimageSrcThis is the name which specifies the source of the graph image.protected FormalParameterisDisableGraphDrillingThis is the flag used in the transform to specify whether to disable drilling on the graph
Allowed Values: TRUE/FALSE.protected FormalParameterisGraphSrcAddSessionInfoThis is the flag used in the transform to specify whether to include the session information on the image src of the graph
Allowed Values: TRUE/FALSE.protected FormalParameterisGraphSrcFullPathThis is the flag used in the transform to specify whether to include the full path on the image src of the graph
Allowed Values: TRUE/FALSE.protected FormalParameterrenderDropZonesIndicates whether to render the graph drop zones.protected FormalParametershowWidthHeightAttributesThis flag is used to decide if we need to include the WIDTH and HEIGHT on the IMG tag.protected FormalParametershrinkGraphToHeightGraph height to shrink to if graph height is bigger than this value.protected FormalParametershrinkGraphToWidthGraph width to shrink to if graph width is bigger than this value.protected FormalParameteruseImageTagWhether to force the use of an "img" tag (instead of an "input" tag)- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractReportDataTransform
_blankImage, _cssBottom, _cssCenter, _cssLeft, _cssRight, _cssTop, _ifLeftArrowImage, _ifRightArrowImage, advancedDrillingContextMenuDisplay, BLANK_SUBSET_REPORT_ID, cssBottom, cssCenter, cssLeft, cssRight, cssTop, customJavaScriptFeatures, drillRetainThresholds, drillWithinBehavior, gridGraphUnitKeyContext, groupContextMenuDrillPathsByType, hasIncreFetchForColumnOnLeft, hasIncreFetchForColumnOnRight, id, ifLeftArrowImage, ifRightArrowImage, incrementalFetchStyleForRow, quickSwitch, quickSwitchCurrent, rwbViewerID, showDrillPathSetNamesSubMenuAtTopLevel, showIncreFetchForColumn, showIncreFetchForRowOnBottom, showIncreFetchForRowOnTop, showSubtitlePara, sortSetNamesAndDrillPaths, transformContext, uniqueReportId 
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractReportTransform
BLANK_XDA_REPORT_ID, cssErrorMessage, cssErrorTitle, cssUseFileContent, generateJSForDrillCheckBoxesForIncFetch, iFramePara, imgError, showScroller, useBuiltInFormatPara 
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
_bean, _componentBlock, _cssPrefix, _imgBlank, _imgWait, _selfOutput, _subOutput, appliesTo, CLASS_INPUT, CLASS_MESSAGE, contextMenus, cssFile, cssPrefix, debugErrorFlags, debugFlags, dragMode, extraInput, extraUrl, FP_APPLIES_TO, FP_CONTEXT_MENUS, FP_CSS_ERROR_MESSAGE, FP_CSS_ERROR_TITLE, FP_CSS_FILE, FP_CSS_PREFIX, FP_DEBUG_ERROR_FLAGS, FP_DEBUG_FLAGS, FP_DRAG_MODE, FP_EXTRA_INPUT, FP_EXTRA_URL, FP_HEIGHT, FP_IFRAME_ENABLED, FP_IMG_WAIT, FP_INITIAL_INDENT, FP_ORIENTATION, FP_ORIENTATIONS_ALLOWED, FP_PARTIAL_IFRAME_UPDATE, FP_PROCESSING_BUTTONS_FLAGS, FP_PROCESSING_INFO_FLAGS, FP_RESIZE_LEVEL, FP_SCRIPT_CLASS, FP_TYPE, FP_USE_DHTML, FP_WIDTH, globalCssErrorMessage, globalCssErrorTitle, height, iframeEnabled, imgWait, indent, initialIndent, isDHTML, orientation, orientationsAllowed, partialIframeUpdate, PROCESSING_BUTTONS_ALL, PROCESSING_BUTTONS_CANCEL, PROCESSING_BUTTONS_HISTORY_LIST, PROCESSING_BUTTONS_REFRESH, PROCESSING_BUTTONS_VIEW_DETAILS, PROCESSING_INFO_ALL, PROCESSING_INFO_DESCRIPTION, PROCESSING_INFO_LAST_UPDATE, PROCESSING_INFO_NAME, PROCESSING_INFO_NONE, PROCESSING_INFO_STATUS, processingButtonsFlags, processingInfoFlags, RESIZE_ALL, RESIZE_HORIZONTAL, RESIZE_NONE, RESIZE_VERTICAL, resizeLevel, scriptClass, scriptEndTagEncoder, type, useDHTML, width 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ReportGraphTransformImpl()default no-args constructor It created the formal parameters and assign default values to them. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.MapgetAttributesBone()java.util.MapgetAttributesGraph(boolean isLiveBone)protected java.lang.StringgetBoneId()Returns the id to be used for the JavaScript bone.protected TransformContextgetContext()Returns the instance of TransformContext with context information for this Transform.protected java.lang.StringgetContextMenuManagerName()Returns the name of the Context Menu Manager assocaited with the graph.java.lang.StringgetDescription()Return description for this Transform.protected WebEventgetDrillEvent()protected GraphBeangetGraphBean()java.util.MapgetGraphBoneAttributes()protected java.lang.StringgetGraphBoneName()protected ClientSideHelpergetGraphClientSideHelper()java.lang.StringgetGraphData()Get graph binary data and encode as base64.protected java.lang.StringgetGraphHeight()protected java.lang.StringgetGraphSrc()protected java.lang.StringgetGraphTooltip()protected java.lang.StringgetGraphWidth()protected java.lang.StringgetImageId()protected java.lang.StringgetImageMapName()protected WebEventgetLoadGraphEvent()protected java.lang.StringgetOnClickJS(WebDrillPath wdp)protected WebEventgetRWDrillOutsideEvent()booleanhasCenter()Whether the transform has the center area.booleanisContextMenusEnabled()Checks privileges to determine whether the graph should enable context menus on the graph.booleanisDesignMode()This methods allows the transform to identify if concrete subclasses are designed to work in design mode, or in execute mode.protected booleanisDndEnabledForGraphs()Returns, based on privileges, whether Drag and drop is available for the graph.protected booleanisGraphAreaDrillingSupported()Returns whether Drilling is enabled on the Graph Areas.booleanisGraphAvailable()protected booleanisGraphTransform()protected booleanisGridGraphMode()protected booleanisGridTransform()protected booleanisInvalidPageByError()protected booleanisNoDataError()protected booleanisNoTypesAvailableError()voidrenderCenter(MarkupOutput out, ReportBean rb)Deprecated.voidrenderData(MarkupOutput out, ReportBean rb)Deprecated.protected voidrenderDropZonesCssLink(MarkupOutput out)Renders the various CSS classes on the Graph Drop Zones Editor.voidrenderEmptyCase(MarkupOutput out, ReportBean rb)Deprecated.voidrenderGraph(MarkupOutput out)Renders the graph bone, it's shell and sets all the javascript properties.voidrenderGraph(MarkupOutput out, ReportBean rb)Deprecated.voidrenderGraphBone(MarkupOutput out)Renders the javascript bone associated with the graph.voidrenderGraphData(MarkupOutput out, ReportBean rb)Deprecated.voidrenderGraphDropZones(MarkupOutput out)Renders the graph drop zones editor.voidrenderGraphError(MarkupOutput out)Renders an error message on the graph page based on the kind of error it is.protected voidrenderGraphTypesError(MarkupOutput out)Renders an error message when an exception is thrown when no graph types are available.voidrenderImageMap(MarkupOutput out)Renders a map on top of the graph image for drilling, context menus etc.protected voidrenderInsufficientGraphDataError(MarkupOutput out)Renders an error on the graph page when there's insufficient data available to render the graph.voidrenderJavascript(MarkupOutput out)This method renders the javascript code that needs to be generated on the server side because its content is dynamic.voidrenderLayout(MarkupOutput out, ReportBean rb)Deprecated.protected voidrenderNoChartAvailable(MarkupOutput out)Renders an error message on the graph page whenever there are no available graphs on the page.protected voidrenderNoDataError(MarkupOutput out)Renders an error on the Graph page when there's no data returned on the graph.protected voidrenderPageByError(MarkupOutput out)Renders an error on the graph page when there's an invalid page by condition/argument.voidrenderRowsIncrementalFetch(MarkupOutput out)Generates the rows incremental fetch portion.voidrenderScroller(MarkupOutput out, int type)Renders a scroller control that will allow the user to scroll across the chart's data.protected voidsetBoneProperties(JsonGenerator boneProps)Sets the necessary properties to the bone assigned to this transform (based on theAbstractAppTransform.scriptClassformal parameter)
Usually called byAbstractAppTransform.renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.protected booleanshouldRenderDropZones()protected booleanshouldRenderGridInfo()This method is used to determine if the bone's gridInfo structure needs to be included.protected booleanshowEmptyAxis()protected booleanuseDrillEvent()protected booleanuseRWDrillOutsideEvent()protected booleanuseViewModeGraphBone()- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractReportDataTransform
createBlockEditorProperties, createBlockEditorProperties, generatePageHistoryItems, getAttributesShellDiv, getBeanPath, getDisplayMode, getFrameBean, getGridData, getGridScriptClass, getGridWidths, getID, getMetricAxisName, getReportSetting, getTransformContext, getViewBean, getWebTemplate, hasBottom, hasLeft, hasRight, hasTop, initializeCss, initializeImages, initializeProperties, initializeTranformContext, initializeTransform, initializeWebComponent, isCalledFromPrinting, isGridEmpty, isQuickSwitchEnabled, isRWBean, renderBottom, renderContent, renderIncreFetchOnColumnLeftPart, renderIncreFetchOnColumnRightPart, renderIncreFetchOnRow, renderLeft, renderRight, renderTop, showSubtitle, showSubtitle, showSubTitleOnly, supports, supports, transformForRequestSuccessful 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractReportTransform
canTransform, generateAnchor, generateErrorForIframe, generateErrorForIframe, generateIncFetchAnchor, generateIncFetchOpenAnchor, getCancelEvent, getContinueEvent, getErrorMessage, getErrorTitle, getHistoryListEvent, getInboxSource, getJobExpiredMessage, getNextColumnsEvent, getPreviousColumnsEvent, getReexecuteButtonDescription, getReportBean, getReportStatus, getReportStatusDescriptorKey, getRepromptEvent, getSupportedBeanType, getViewDetailsEvent, getWebReexecuteEvent, isCubeReport, isDatamart, isIFrameEnabled, isIncRefreshReport, isNonViewableReport, renderColumnsIncrementalFetch, renderColumnsIncrementalFetchNext, renderColumnsIncrementalFetchPrevious, renderContinueFormForRequestInError, renderErrorButtons, renderErrorInfo, renderHistoryListButton, renderImage, renderJobExpiredSection, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoDetails, renderViewDetailsButton, setWebReexecuteEventArguments, transformForRequestInError, transformForRequestNotInited, useBuiltInFormat 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractWebBeanTransform
getReexcuteEventFromBean, getTaskProcessorBaseURL 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, getArgumentName, getClientSideHelper, getContainerServices, getContextMenu, getContextMenuManager, getContextMenusDefinition, getCssPrefix, getDateFormat, getDebugOut, getDescriptor, getDescriptor, getDescriptor, getDescriptor, getDisplayMode, getDisplayName, getErrorMessage, getErrorTitle, getEventManager, getFirstDayOfWeek, getFloatValue, getHelpPath, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, is508, isBlockMode, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestProcessing, transformForRequestWaitingForUserInput 
- 
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout 
- 
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, getEvents, getFormalParams, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.microstrategy.web.transform.LayoutTransform
getLayoutDefinition, setLayoutDefinition 
- 
Methods inherited from interface com.microstrategy.web.transform.Transform
canTransform, getFormalParams, getPreview, getSupportedBeanType, isPreviewAvailable, isResolved, transform 
 - 
 
 - 
 
- 
- 
Field Detail
- 
isGraphSrcAddSessionInfo
protected FormalParameter isGraphSrcAddSessionInfo
This is the flag used in the transform to specify whether to include the session information on the image src of the graph
Allowed Values: TRUE/FALSE. 
- 
isGraphSrcFullPath
protected FormalParameter isGraphSrcFullPath
This is the flag used in the transform to specify whether to include the full path on the image src of the graph
Allowed Values: TRUE/FALSE. 
- 
isDisableGraphDrilling
protected FormalParameter isDisableGraphDrilling
This is the flag used in the transform to specify whether to disable drilling on the graph
Allowed Values: TRUE/FALSE. 
- 
graphSize
protected FormalParameter graphSize
Graph Size to use.
Allowed Values:
PreferencesGraphTransform.GRAPH_USE_REPORT_SIZE
PreferencesGraphTransform.GRAPH_USE_USER_SIZE 
- 
showWidthHeightAttributes
protected FormalParameter showWidthHeightAttributes
This flag is used to decide if we need to include the WIDTH and HEIGHT on the IMG tag. (used for exporting to Excel).
Allowed Values: TRUE/FALSE. 
- 
graphWidth
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 
- 
graphHeight
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 
- 
shrinkGraphToWidth
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 
- 
shrinkGraphToHeight
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 
- 
imageSrc
protected FormalParameter imageSrc
This is the name which specifies the source of the graph image.
Allowed Values: any file name used as the source of the graph image. 
- 
graphImageFormat
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 
- 
helpType
public FormalParameter helpType
Indicates the type of help topic this editor uses.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
helpTopic
public FormalParameter helpTopic
Indicates the help topic for the help page of the editor.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
FP_HELP_TYPE
public static final java.lang.String FP_HELP_TYPE
Constant specifying the type of the help file this editor should point to- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
FP_HELP_TOPIC
public static final java.lang.String FP_HELP_TOPIC
Constant specifying the name of the formal parameter for specifying the help topic for the help of the editor- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
renderDropZones
protected FormalParameter renderDropZones
Indicates whether to render the graph drop zones.
Usage:
This tells us how to decide whether to render the graph drop zones or not. Possible values for this property and their meaning include:
EnumWebPreferences.PREFERENCE_YES= Always displayEnumWebPreferences.PREFERENCE_NO= Never displayEnumWebPreferences.PREFERENCE_VALUE_FROM_REPORT= (default) Resolves programatically based on user preference and if the object browser is open- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
useImageTag
protected FormalParameter useImageTag
Whether to force the use of an "img" tag (instead of an "input" tag)- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
dropShadowDepth
protected FormalParameter dropShadowDepth
 
- 
_graphClientSideHelper
protected ClientSideHelper _graphClientSideHelper
- Since:
 - MicroStrategy Web 8.1.0
 
 
 - 
 
- 
Method Detail
- 
renderImageMap
public void renderImageMap(MarkupOutput out)
Renders a map on top of the graph image for drilling, context menus etc.- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
getOnClickJS
protected java.lang.String getOnClickJS(WebDrillPath wdp)
 
- 
isContextMenusEnabled
public boolean isContextMenusEnabled()
Checks privileges to determine whether the graph should enable context menus on the graph.- Overrides:
 isContextMenusEnabledin classAbstractAppTransform- Returns:
 - boolean - True if context menus are enabled.
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderEmptyCase
public void renderEmptyCase(MarkupOutput out, ReportBean rb)
Deprecated.Render when the report grid is empty.
Usually some information message is displayed.- Parameters:
 out- output by this transformrb- this report bean
 
- 
renderLayout
public void renderLayout(MarkupOutput out, ReportBean rb)
Deprecated.Render the layout for the report grid.
Out of box, we don't render anything for the layout area for graph reports.- Parameters:
 out- output by this transformrb- this report bean
 
- 
renderData
public void renderData(MarkupOutput out, ReportBean rb)
Deprecated.Render the report data area.
For graph reports, it's the graph itself.- Parameters:
 out- output by this transformrb- this report bean
 
- 
renderCenter
public void renderCenter(MarkupOutput out, ReportBean rb)
Deprecated.Render center area of the transform.- Parameters:
 out- output by this transformrb- this report bean
 
- 
renderGraphData
public void renderGraphData(MarkupOutput out, ReportBean rb)
Deprecated.Renders the graph.
Out of box, it's called from renderData() method, but it can be used as a utility function.- Parameters:
 out- output by this transformrb- this report bean
 
- 
renderGraph
public void renderGraph(MarkupOutput out, ReportBean rb)
Deprecated.Renders the graph itself.
Out of box, it's called from renderGraphData() method, but it can be used as a utility function.- Parameters:
 out- output by this transformrb- this report bean
 
- 
renderGraph
public void renderGraph(MarkupOutput out)
Renders the graph bone, it's shell and sets all the javascript properties.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
renderGraphDropZones
public void renderGraphDropZones(MarkupOutput out)
Renders the graph drop zones editor. This editor helps in editing the graph by showing all the graph objects on their respective Rows, Series or Metrics columns.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderDropZonesCssLink
protected void renderDropZonesCssLink(MarkupOutput out)
Renders the various CSS classes on the Graph Drop Zones Editor.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderScroller
public void renderScroller(MarkupOutput out, int type)
Renders a scroller control that will allow the user to scroll across the chart's data.- Parameters:
 out- MarkupOutputtype- int Type of scroller to render. Values from:
Scroller.HORIZONTAL_SCROLLER
Scroller.VERTICAL_SCROLLER- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
isGraphAreaDrillingSupported
protected boolean isGraphAreaDrillingSupported()
Returns whether Drilling is enabled on the Graph Areas.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderGraphBone
public void renderGraphBone(MarkupOutput out)
Renders the javascript bone associated with the graph.- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
renderGraphError
public void renderGraphError(MarkupOutput out)
Renders an error message on the graph page based on the kind of error it is.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
renderGraphTypesError
protected void renderGraphTypesError(MarkupOutput out)
Renders an error message when an exception is thrown when no graph types are available.- Parameters:
 out-MarkupOutput
 
- 
renderPageByError
protected void renderPageByError(MarkupOutput out)
Renders an error on the graph page when there's an invalid page by condition/argument.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
renderNoDataError
protected void renderNoDataError(MarkupOutput out)
Renders an error on the Graph page when there's no data returned on the graph.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
renderInsufficientGraphDataError
protected void renderInsufficientGraphDataError(MarkupOutput out)
Renders an error on the graph page when there's insufficient data available to render the graph.- Parameters:
 out-
 
- 
renderNoChartAvailable
protected void renderNoChartAvailable(MarkupOutput out)
Renders an error message on the graph page whenever there are no available graphs on the page. This error is also triggered wheneverthe property "Allow this report to be displayed as a graph" is unchecked.- Parameters:
 out-MarkupOutput
 
- 
getGraphClientSideHelper
protected ClientSideHelper getGraphClientSideHelper()
- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
renderJavascript
public void renderJavascript(MarkupOutput out)
Description copied from class:AbstractReportDataTransformThis method renders the javascript code that needs to be generated on the server side because its content is dynamic. In particular this method invokesrenderRegisterBonewhich initializes and registers a grid's bone..- Overrides:
 renderJavascriptin classAbstractReportDataTransform- Parameters:
 out- MarkupOutput to generate the HTML.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
isDndEnabledForGraphs
protected boolean isDndEnabledForGraphs()
Returns, based on privileges, whether Drag and drop is available for the graph.- Returns:
 - True if the privileges are available.
 
 
- 
getContextMenuManagerName
protected java.lang.String getContextMenuManagerName()
Returns the name of the Context Menu Manager assocaited with the graph.- Overrides:
 getContextMenuManagerNamein classAbstractAppTransform- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderRowsIncrementalFetch
public void renderRowsIncrementalFetch(MarkupOutput out)
Description copied from class:AbstractReportDataTransformGenerates the rows incremental fetch portion. It just delegates this to another Transform, as specified by theincrementalFetchStyleForRowformal parameter.- Overrides:
 renderRowsIncrementalFetchin classAbstractReportDataTransform- Parameters:
 out- MarkupOutput to generate the HTML.
 
- 
isDesignMode
public boolean isDesignMode()
Description copied from class:AbstractReportTransformThis methods allows the transform to identify if concrete subclasses are designed to work in design mode, or in execute mode.- Overrides:
 isDesignModein classAbstractReportTransform- Returns:
 - false by default. Any inherting class should override to implement its own version.
 - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
isGridGraphMode
protected boolean isGridGraphMode()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
useDrillEvent
protected boolean useDrillEvent()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
useRWDrillOutsideEvent
protected boolean useRWDrillOutsideEvent()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getLoadGraphEvent
protected WebEvent getLoadGraphEvent()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getDrillEvent
protected WebEvent getDrillEvent()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getRWDrillOutsideEvent
protected WebEvent getRWDrillOutsideEvent()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getGraphWidth
protected java.lang.String getGraphWidth()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getGraphHeight
protected java.lang.String getGraphHeight()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getGraphSrc
protected java.lang.String getGraphSrc()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getGraphData
public java.lang.String getGraphData()
Get graph binary data and encode as base64. Note: refer to {#link ReportGraphImageTransform.java }- Returns:
 - String base64-encoded image binary
 
 
- 
getGraphTooltip
protected java.lang.String getGraphTooltip()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getAttributesBone
public java.util.Map getAttributesBone()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getGraphBoneAttributes
public java.util.Map getGraphBoneAttributes()
- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
getAttributesGraph
public java.util.Map getAttributesGraph(boolean isLiveBone)
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getImageId
protected java.lang.String getImageId()
- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
getGraphBean
protected GraphBean getGraphBean()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
isGraphAvailable
public boolean isGraphAvailable()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
isNoTypesAvailableError
protected boolean isNoTypesAvailableError()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
isInvalidPageByError
protected boolean isInvalidPageByError()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
isNoDataError
protected boolean isNoDataError()
- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
hasCenter
public boolean hasCenter()
Description copied from class:AbstractReportDataTransformWhether the transform has the center area. Out of box, it returns true.- Specified by:
 hasCenterin classAbstractReportDataTransform- Returns:
 - Whether the transform has the center area
 - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getDescription
public java.lang.String getDescription()
Return description for this Transform.- Returns:
 - The description as to what this Transform does.
 
 
- 
getContext
protected TransformContext getContext()
Description copied from class:AbstractAppTransformReturns the instance of TransformContext with context information for this Transform.- Overrides:
 getContextin classAbstractAppTransform- Since:
 - MicroStrategy Web 8.1.0
 - See Also:
 AbstractAppTransform.getContextMenu(java.lang.String)
 
- 
getImageMapName
protected java.lang.String getImageMapName()
- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
getGraphBoneName
protected java.lang.String getGraphBoneName()
- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
showEmptyAxis
protected boolean showEmptyAxis()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
shouldRenderDropZones
protected boolean shouldRenderDropZones()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
shouldRenderGridInfo
protected boolean shouldRenderGridInfo()
Description copied from class:AbstractReportDataTransformThis method is used to determine if the bone's gridInfo structure needs to be included. As an optimization in the Document page, when executing a document, only the first bone registered for a given grid includes the gridInfo structure.- Overrides:
 shouldRenderGridInfoin classAbstractReportDataTransform- Returns:
 trueif the grid bone properties should include the gridInfo.
 
- 
useViewModeGraphBone
protected boolean useViewModeGraphBone()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
setBoneProperties
protected void setBoneProperties(JsonGenerator boneProps)
Description copied from class:AbstractAppTransformSets the necessary properties to the bone assigned to this transform (based on theAbstractAppTransform.scriptClassformal parameter)
Usually called byAbstractAppTransform.renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.- Overrides:
 setBonePropertiesin classAbstractReportDataTransform- Parameters:
 boneProps- the JsonGenerator object that contains the collection of bone properties.
 
- 
isGridTransform
protected boolean isGridTransform()
- Specified by:
 isGridTransformin classAbstractReportDataTransform- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
isGraphTransform
protected boolean isGraphTransform()
- Specified by:
 isGraphTransformin classAbstractReportDataTransform- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
getBoneId
protected java.lang.String getBoneId()
Description copied from class:AbstractAppTransformReturns the id to be used for the JavaScript bone.
This method is used by therenderRegisterBonemethod to indicate the id of the bone html element.- Overrides:
 getBoneIdin classAbstractReportDataTransform- Returns:
 - String
 - Since:
 - MicroStrategy Web 8.1.1
 - See Also:
 AbstractAppTransform.renderRegisterBone(com.microstrategy.web.beans.MarkupOutput)
 
 - 
 
 -