MicroStrategy ONE

Creating Tooltips in a Graph

A tooltip is short, descriptive text that appears when you mouse over a graph item in MicroStrategy Web. Tooltips provide information such as the value of a specific data point, the name of a group, or the label of a graph's X-axis. An example of the default tooltip for a Boxplot in MicroStrategy Developer is shown below:

Tooltips are automatically added to every graph for display in MicroStrategy Web. These default tooltips display relevant data for a graph based on the graph type. For example, the default tooltips for Boxplots display the values of each quartile, as shown in the image above.

Tooltips are only visible in Web. However, both MicroStrategy Developer and Web allow you to modify the tooltips displayed in a graph by using macros. These macros are dynamic text that is replaced with graph information when the tooltip is displayed in Graph View. While the default macro used is {&TOOLTIP}, you can use different macros to customize what information appears in a given graph. You can use multiple macros in the same tooltip or combine static text and macros.

Some tooltip macros may not be available for use in specific types of graphs. For example, {&XVALUE} can only be used in Bubble charts or Scatter plots. If a macro is unavailable for the given graph type, no tooltip is displayed in the graph when viewed in Web.

The following table describes the macros you can use to customize graph tooltips in both MicroStrategy Developer and MicroStrategy Web:

Macro

Information Displayed

{&TOOLTIP}

All relevant labels and values associated with a graph item.

{&GROUPLABEL}

Name of the graph item's category. This value is often the graph item's attribute element information, as attributes are commonly used as the categories of graph reports.

{&SERIESLABEL}

Name of the graph item's series. This value is often the graph item's metric name information, as metrics are commonly used as the series of graph reports.

{&VALUE}

The value of a given data point.

{&XVALUE}

The X-value of a data point. Only applicable to Bubble charts and Scatter plots.

{&YVALUE}

The Y-value of a data point. Only applicable to Bubble charts and Scatter plots.

{&ZVALUE}

The Z-value of a data point. Only applicable to Bubble charts and Scatter plots.

{&XLABEL}

The label of the X-axis. Only applicable to Bubble charts and Scatter plots.

{&YLABEL}

The label of the Y-axis. Only applicable to Bubble charts and Scatter plots.

{&ZLABEL}

The label of the Z-axis. Only applicable to Bubble charts and Scatter plots.

For information on tooltips in documents, see the Document Creation Help.

Steps are below to apply tooltips in both MicroStrategy Developer and MicroStrategy Web.

To Apply a Tooltip to a Graph in MicroStrategy Developer

  1. Open a report in Graph View.
  2. Choose Graph > Preferences.
  3. Expand the Series category.
  4. Select the data to apply tooltips to:
    • Select the Labels and Values category to apply the same tooltip to every item in the graph.
    • Select the name of the series to define tooltips for a single series.
  5. Select the Show Tooltip (Web Only) check box.
  6. Enter the text of the desired macro or your own static text.
  7. Click Apply.
  8. Click OK.
  9. Choose File > Save.

To Apply a Tooltip to a Graph in MicroStrategy Web

  1. Open a report and display it in either Graph View or Grid and Graph View.
  2. Choose Format > Graph.
  3. Select Format.
  4. Select Series Values from the first drop-down list.
  5. Select the Tooltips check box. If this box is cleared, no tooltips will be visible in the graph.
  6. Enter the text of the desired macro or your own static text.
  7. Click Apply.
  8. Click OK.