Using a computed axis title in a graph
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
:
You may want to download this example as you follow along: Computed Axis Title includes Slicer value.ana
Enable comment auto-refresher