MicroStrategy ONE

Creating tooltips in a graph

A tooltip is short, descriptive text that appears when you hover the cursor 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 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:

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 Creating pop-up tooltips in controls.

To apply a tooltip to a graph in MicroStrategy Developer

  1. Open a report in Graph View.

  2. On the Graph menu, choose Preferences. The Preferences dialog box opens.

  3. Expand the Series category.

  4. If you want to apply the same tooltip to every item in the graph, select the Labels and Values category. Otherwise, to define tooltips for a single series, select the name of the series.

  5. Ensure that the Show Tooltip (Web Only) check box is selected. If this box is cleared, no tooltips will be visible in the graph.

  6. Type the text of the desired macro or your own static text.

  7. Click Apply to apply changes.

  8. Click OK to return to the graph.

  9. On the File menu, select Save to save the new tooltip.