Choice of variables to plot on chart no longer interactive. Limitations of selecting variables with custom expression and $map command.

I am determining default variables to plot on a line chart by specifying the Y axis as a custom expression with the command:

$map({SelectedVariablesToPlot}) where SelectedVariableToPlot is a Document Property transferred from a Data Function.

It works fine except now I no longer see the [+] [<] icons on the Y axis which would allow me to easily select other variables to plot than the ones by default.

To see them again I need to Right-Click on the Y axis labels and select in the menu 'Remove All'.

If I do that the chart no longer populates by default after the next run of my data function since I've removed the expression setting.

Is there a way I can specify my default plotting and keep it easy for users to select other variables?.

(1) Answer