Using a computed axis title in a graph

Revision as of 20:45, 11 June 2021 by Lchrisman (talk | contribs) (Initial content, example model, screenshots)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Requires Analytica 6.0 or later

On this page, I show an example how you can display a computed axis title. By doing so, you can dynamically change your axis title as a user changes a slicer, so that the graph for each slice uses a different axis title.

Because the axis title is computed by any Analytica expression you want to come up with, your computed title could depend on just about anything, changing with the specific values in the data, the uncertainty view, the specific pivot, and so on. Also, you can use the same approach to set a graph key title to computed text.

In the current example, we will include the currently selected value of an index named Metric in the Axis title, when the graph is pivoted so that Metric is slicer. You can see this in these screenshots as I use the slicer to select different Metric:

Computed axis title Rider.pngComputed axis title Driver.png

You may want to download this example as you follow along: Computed Axis Title includes Slicer value.ana

Comments


You are not allowed to post comments.