Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ChartLauncher.openChart(chart)
对我不起作用*,所以我想要这样ChartSaver.saveChart(chart, path)的东西是否存在。
ChartSaver.saveChart(chart, path)
*我得到:
libEGL warning: failed to create a pipe screen for i965
您的chart对象必须有一个调用的方法screenshot,该方法接受File将图表导出为图像。
chart
screenshot
File
File image = new File("image.png"); chart.screenshot(image);