title: Adding a line in a JavaFX chart
body: <p>I have problems with adding a line at a defined position in JavaFX. The line has to be line a constant line as shown here: <a href="https://stackoverflow.com/questions/15615881/how-to-add-a-value-marker-to-javafx-chart">How to add a value marker to JavaFX chart?</a> </p>
  
  <p>My problem is, that my layout definition is a bit more complicated. Have a look: </p>
  
  <p><a href="https://i.stack.imgur.com/yyRiM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yyRiM.jpg" alt="chart"></a></p>
  
  <p>The important part is the one on the top. I want to have the line on the y=60 line. The left part with the RadioBoxes is a VBox. The part with the (Scatter-)Chart is a StackPane (because I want it to fill the rest of the width). Inside this StackPane is the chart and a Group. The only child of the Group is the line.</p>
  
  <p>I think the problem is, that the StackPane centers the Group with the line above the chart. But I can't get the combination of layouts which
  1. stretches the chart
  2. sets the Line above the chart
  3. doesn't center the line</p>
  
  <p>I tried lots of combinations but I just can't get it the way I want. Does anybody have an idea?!</p>