Horizontal Line in a Bar chart with Plotlines

I want to display a horizontal line in a bar chart in HighCharts. I have tried it with a series of static data but as you can see in the photo, the lower line does not extend fully to the sides and I can not add a label. The upper line is a plotLine with a fixed value. My question is if it is possible to use a value from a datasource inside the highcharts config.

"yAxis": {
      "title": {
        "text": ""
      "plotLines": [
          "value": 670,
          "color": "rgba(255,0,0,1)",
          "zIndex": 7,
          "width": 2,
          "label": {
            "text": "Target",
            "textAlign": "left",
            "x": -40,
            "y": 5,
            "align": "left"

so if i understand correctly, you want to achieve a dynamic Plot line?
This can be done with a hidden filter which generates your ‘X’ or ‘Y’ value of the plot line depending on your filter value.