WritableImage image1 = chart1.snapshot(new SnapshotParameters(), null);
try {
File outputFile1 = new File("D:/JavaFX/会议地点占比.png");
ImageIO.write(SwingFXUtils.fromFXImage(image1, null), "png",outputFile1);
} catch (IOException ex) {
}