django Web应用程序中的图表 [英] Charts in django Web Applications
问题描述
我想在使用django开发的Web应用程序中嵌入图表。
I want to Embed a chart in a Web Application developed using django.
我遇到了 Google图表API , ReportLab , PyChart , MatPlotLib 和 ChartDirector
我想在服务器端执行此操作,而不是将AJAX请求发送给Google图表API,因为我也希望将图表嵌入到PDF中。
I want to do it in the server side rather than send the AJAX request to Google chart APIs, as I also want to embed the chart into the PDF.
哪个是最好的选择,而另一个是相对优点和缺点。
Which is the best option to use, and what are the relative merits and demerits of one over the other.
推荐答案
另一个选择是 CairoPlo t 。
我们在其他的django应用程序中选择了其他的matplotlib来进行一些严重的图形化,主要是因为它是唯一给我们的
We picked matplotlib over the others for some serious graphing inside one of our django apps, primarily because it was the only one that gave us exactly the kind of control we needed.
生成PNG的效果对我们来说很好,但是它是一个高度专业化的应用程序,每天不超过10次登录。
Performance generating PNG's was fine for us but... it was a highly specialized app with less than 10 logins a day.
这篇关于django Web应用程序中的图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!