安装
$ pip install django-chart-tools
或
$ easy_install django-chart-tools
用法
{% load chart_tags %}
{% chart %}
chxr=0,0,160
chxt=y
chbh=a
chs=440x220
cht=bvs
chco=4D89F9
chds=0,160
chd=t:10,50,60,80,40,60,30
chtt=Horizontal+bar+chart2
{% endchart %}
效果图

详细资料:
https://developers.google.com/chart/image/docs/chart_params?hl=en
本文将指导您如何使用pip安装django-chart-tools库,并通过示例代码展示如何创建横栏图表。包含图表参数设置及效果展示。
1439

被折叠的 条评论
为什么被折叠?



