URL API DisplayMode parameter

Use the DisplayMode parameter to display a CubeViewer object in grid, chart, or grid and chart mode.

Format

&DisplayMode=display_type

Values

Value Description
Chart Displays the CubeViewer object in chart-only mode.
Grid Displays the CubeViewer object in grid-only mode.
GridAndChart Displays the CubeViewer object with both a grid and chart.

Example

The following example shows a URL to apply to a CubeViewer object that is already displayed.
http://localhost:9510/tm1web/UrlApi.jsp#DisplayMode=Chart
The following example uses a JavaScript function to change the display mode.
function setDisplayMode(value) {
   if(!value) {
      return;
   }

   cubeView.src = baseUrl + "#DisplayMode=" + value;
};