add a summary statistic as a reference line in Graph BuilderI would like to add a reference line plus its value as label, not as a hard number (e.g. 3.41%) but a summary statistic of the plotted response column, e.g. a mean or a median. This should also work in the JSL script for the graph. What I am doing so far is to go to the axis settings and manually add the reference line and its value label. Unfortunately the median changes whenever there is new data concatenated, so I manually update it time and again.
Re: add a summary statistic as a reference line in Graph BuilderThank you Xan.
I discovered for both, in script and in Graph Builder Platform, how to implement the overall median as well as how to connect the group medians. So a good portion is covered.
The wish that remains open is to add a label with its value to the line of that summary statistic.