I am attempting to write a script that will auto populate a run chart from a SQL database. The one issue that I am having is automatically adding in a vertical reference line based on the x-axis label. I can make this work with the value but I do not believe this to be suitable for my application. I am hoping to base this off of the label instead of the value as I am anticipating the initial and ending values of my x-axis to change. Since my axis will be a time stamp it will always be a unique identifier. This is the first script I am trying to write so I may have missed something obvious.
Any advice or help is greatly appreciated.