i'd save array point chart image(png), java program can show schatter diagram don't know how save it. perhaps imageio.write, , how? can give me advice solve problem. thank you public class graph extends application { public void start(stage primarystage) { pane root = new pane(); int[] mydata = { 12, 9, 0, 1, 38, 19, 21, 72, 33, 83, 14, 10, 65, 46, 10, 17, 27, 38, 65, 98, 8, 58, 38, 79, 37, 69, 26, 15}; numberaxis xaxis = new numberaxis(); numberaxis yaxis = new numberaxis(); scatterchart scatterchart=new scatterchart(xaxis,yaxis); xychart.series data=new xychart.series(); (int i=0; i< mydata.length; i++) { data.getdata().add(new xychart.data(i,mydata[i])); } scatterchart.getdata().addall(data); root.getchildren().add(scatterchart); scene scene = new scene(root, 600, 400); primarystage.setscene(scene); primarystage.show(); file file = new file("c:\\images\\image.png"); // , ????? } public static void main(string[] args) ...