docs: @SuppressWarnings("deprecated")
  	protected String getDownloadPath(BufferedImage chartImage)
  			throws IOException
  	{
  		File imageOutputFile = ExportDownload.createTempFile("chart", ".png");
  
  		ImageIO.write(chartImage, "png", imageOutputFile);
  
  		return ExportDownload.getUrl(imageOutputFile, "image/png");
  	}