Can anybody tell me how to send a column name (that I don't know beforehand and that will be determined while running the script) to a graph report, eg:
variable1 = "Metal";
name1 = "Width of " || variable1;
Overlay Plot(
X( : Price ),
Y( : (Column (name1)) ),
This works to change line color:
: Name ("Width of Metal") (Connect Color( 19 )
But I don't know the column name, because it depends on variable1. Therefore, I need to replace the expression Name ("Width of Metal") and use the variable name1. I've tried
: Name (name1), : Column (name1), :name1 etc etc etc etc etc. Nothing works. But surely there's a way to incorporate a variable into the column name for the SendTo Command?
Regards,
Kofi