简体   繁体   中英

Charts for web application

Does anyone know any good chart api for a web application in java? This question might be asked earlier. What I am looking for , where I can offer different chart options to user for reports and then they can use any chart they want?

amcharts

it's good, but not free and uses Flash.

JFreeChart

is free.

Google Charts API

谷歌图表API相当不错(更多信息在这里 。)如果您愿意在服务器上使用JFreeChart ,也可以使用JFreeChart

I think the Google API looks great, but what about SSL warnings? If my users are running SSL against my servers, then fetching an image from http(s)://chart.apis.google.com... will generate an SSL warning, which looks unprofessional.

Is there any way to come around that? One way I could imagine would be to fetch the image serverside, and the stream it out to the browser. The browser would have an image tag like:

<img src="myownserver.com/chart?somedescriptive=parameters.../>

And when getting this request on my server I would generate a call to Googles API, get the image, and then stream it out, as if was my own file.

But are there any other way to avoid SSL warnings?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM