开发者

How to use writeChartAsPNG in JSP?

开发者 https://www.devze.com 2023-02-20 18:31 出处:网络
Can anyone explain how 开发者_如何学Pythonto use writeChartAsPNG in JSP?please check this link out.Its good.

Can anyone explain how 开发者_如何学Pythonto use writeChartAsPNG in JSP?


please check this link out.Its good.

How to use writeChartAsPNG

They have used ChartUtilities.writeChartAsPNG() methods in the example given over there.


<img src="/path/to/chart" /> and have this path handled by a servlet, where:

ChartUtilities.writeChartAsPng(response.getOutputStream(), ....);


Not totally related, but you might also consider Cewolf (http://cewolf.sourceforge.net/new/), which provides a JSP tag-library on top of JFrechart, and thus liberates you from using JSP scriplets.

0

精彩评论

暂无评论...
验证码 换一张
取 消