Class ReportGridGraphTransformImpl

    • Field Detail

      • gridStyle

        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.
      • outlineGridStyle

        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.
        Since:
        MicroStrategy Web 7.5.4
      • graphStyle

        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.
        Since:
        MicroStrategy Web 8.0.0
      • showGraphBeforeGrid

        protected FormalParameter showGraphBeforeGrid
        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.
    • Constructor Detail

      • ReportGridGraphTransformImpl

        public ReportGridGraphTransformImpl()
        default no-args constructor
    • Method Detail

      • renderJavascript

        public void renderJavascript​(MarkupOutput out)
        Description copied from class: AbstractReportDataTransform
        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..
        Overrides:
        renderJavascript in class AbstractReportDataTransform
        Parameters:
        out - MarkupOutput to generate the HTML.
        Since:
        MicroStrategy Web 8.0.0
      • renderGridData

        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
      • renderGraphData

        public void renderGraphData​(MarkupOutput out,
                                    ReportBean rb)
        Since:
        MicroStrategy Web 8.0.0
      • renderGrid

        public void renderGrid​(MarkupOutput out)
        Since:
        MicroStrategy Web 8.0.0
      • renderGraph

        public void renderGraph​(MarkupOutput out)
        Since:
        MicroStrategy Web 8.0.0
      • getGridStyle

        protected java.lang.String getGridStyle()
        Since:
        MicroStrategy Web 8.0.0
      • getGraphStyle

        protected java.lang.String getGraphStyle()
        Since:
        MicroStrategy Web 8.0.0
      • isDesignMode

        protected boolean isDesignMode()
        Description copied from class: AbstractReportTransform
        This methods allows the transform to identify if concrete subclasses are designed to work in design mode, or in execute mode.
        Overrides:
        isDesignMode in class AbstractReportTransform
        Returns:
        false by default. Any inherting class should override to implement its own version.
        Since:
        MicroStrategy Web 8.0.0
      • hasCenter

        public boolean hasCenter()
        Description copied from class: AbstractReportDataTransform
        Whether the transform has the center area. Out of box, it returns true.
        Specified by:
        hasCenter in class AbstractReportDataTransform
        Returns:
        Whether the transform has the center area
        Since:
        MicroStrategy Web 8.0.0
      • renderCenter

        public void renderCenter​(MarkupOutput out,
                                 ReportBean rb)
        Description copied from interface: ReportDataTransform
        Render center area of the transform.
        Parameters:
        out - output by this transform
        rb - this report bean
        Since:
        MicroStrategy Web 8.0.0
      • renderLayout

        public void renderLayout​(MarkupOutput out,
                                 ReportBean rb)
        Description copied from interface: ReportDataTransform
        Render the layout for the report grid.
        The CENTER area of the transform has layout on top and data on bottom.
        Parameters:
        out - output by this transform
        rb - this report bean
        Since:
        MicroStrategy Web 8.0.0
      • renderData

        public void renderData​(MarkupOutput out,
                               ReportBean rb)
        Description copied from interface: ReportDataTransform
        Render the report data area.
        The CENTER area of the transform has layout on top and data on bottom.
        Parameters:
        out - output by this transform
        rb - this report bean
      • renderEmptyCase

        public void renderEmptyCase​(MarkupOutput out,
                                    ReportBean rb)
        Description copied from interface: ReportDataTransform
        Render when the report grid/graph is empty.
        Usually some information message is displayed.
        Parameters:
        out - output by this transform
        rb - this report bean
        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.