django Web应用程序中的图表 [英] Charts in django Web Applications

查看:154
本文介绍了django Web应用程序中的图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆