title: Javafx snapshot of defined size
body: <p>Hello I would like to save my line chart to an image of predefined dimensions (x, y). Is there an easy way to do so? I could not find any suitable Snapshot parameter.</p>
  
  <pre><code>    WritableImage image = lineChart.snapshot(new SnapshotParameters(), null);
  </code></pre>
  
  <p>Thanx</p>