示例#1
0
文件: tests.py 项目: wuzesheng/pygal
    def test_funnel():
        funnel = Funnel()

        funnel.add('1', [1, 2, 3])
        funnel.add('3', [3, 4, 5])
        funnel.add('6', [6, 5, 4])
        funnel.add('12', [12, 2, 9])

        return funnel.render_response()
示例#2
0
    def test_funnel():
        funnel = Funnel()

        funnel.add('1', [1, 2, 3])
        funnel.add('3', [3, 4, 5])
        funnel.add('6', [6, 5, 4])
        funnel.add('12', [12, 2, 9])

        return funnel.render_response()
示例#3
0
    def test_funnel():
        funnel = Funnel()

        funnel.add("1", [1, 2, 3])
        funnel.add("3", [3, 4, 5])
        funnel.add("6", [6, 5, 4])
        funnel.add("12", [12, 2, 9])

        return funnel.render_response()