JFreeChart & Image

后端 未结 3 1403
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-13 00:06

Is it possible to cast an image/BufferedImage to JFreeChart?

3条回答
  •  执笔经年
    2021-01-13 00:59

    JfreeChart takes data first and generate image using generic ChartUtilities class or any customized utility class.

    ChartUtilities.writeChartAsPNG(outputstream,getDataset(), width,height);
    

    Maybe this can help you:here

提交回复
热议问题