auswertung: Feld 'lines', pie-chart als test

This commit is contained in:
Frederik Jaeckel 2022-10-28 19:31:37 +02:00
parent 34a3a987fa
commit 085228e047
12 changed files with 402 additions and 16 deletions

18
templates.py Normal file
View file

@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-
# This file is part of the cashbook-module from m-ds for Tryton.
# The COPYRIGHT file at the top level of this repository contains the
# full copyright notices and license terms.
template_view_line = '<field %(linecolor)s name="%(yname)s" fill="%(fill)s" empty="0" string="%(string)s"/>'
template_view_point = """<?xml version="1.0"?>
<graph type="%(type)s" legend="%(legend)s" %(colscheme)s %(bgcol)s>
<x>
<field name="%(xname)s"/>
</x>
<y>
%(lines)s
</y>
</graph>
"""