django Web应用程序中的图表 [英] Charts in django Web Applications
问题描述
我想在使用django开发的Web应用程序中嵌入图表。
我遇到了 Google图表API , ReportLab , PyChart , MatPlotLib 和 ChartDirector
我想在服务器端执行此操作,而不是将AJAX请求发送到Google图表API,因为我还希望将图表嵌入到PDF中。 p>
这是最好的选择,一个比另一个的相对优点和缺点是什么。
另一个选择是 CairoPlot 。
我们选择matplotlib在其他的一些严重的图形在我们的django应用程序之一,主要是因为它是唯一一个给我们的控制,需要。
性能生成PNG对我们很好,但...它是一个高度专业化的应用程序,每天少于10次登录。
I want to Embed a chart in a Web Application developed using django.
I have come across Google charts API, ReportLab, PyChart, MatPlotLib and ChartDirector
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.
Another choice is CairoPlot.
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.
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屋!