如何使用 python-nvd3 绘制子弹图?

How to plot bullet chart using python-nvd3?

我对 python 网络开发完全陌生,这是我使用 Python 和 Django 的第一个网络应用程序。出于绘图目的,我使用 python-nvd3。我按照这里的说明操作:http://python-nvd3.readthedocs.org/en/latest/introduction.html#documentation

在 python-nvd3 中有很多图表类型,如条形图、折线图和饼图等。在我的项目中,我需要绘制子弹图,但我没有 get.I不知道使用 python-nvd3 绘制子弹图。

如果有人有想法使用 python-nvd3 绘制子弹图,请与我分享。
提前致谢。

在 python NVD3 中没有绘制 子弹图 的选项,因为它只是 D3 图表的包装器。而不是 python nvd3 你可以使用 nvd3.js 然后你可以绘制子弹图。按照这个 link http://nvd3.org/examples/bullet.html