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

12
view/book_graph.xml Normal file
View file

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!-- 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. -->
<graph type="pie" legend="1" background="#ffffc0">
<x>
<field name="name"/>
</x>
<y>
<field name="balance" fill="1" empty="0"/>
</y>
</graph>

View file

@ -2,19 +2,27 @@
<!-- 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. -->
<form col="6">
<label name="name"/>
<field name="name"/>
<label name="dtype"/>
<field name="dtype"/>
<newline/>
<form col="1">
<notebook>
<page id="chart" col="1" string="Chart">
<field name="lines" view_ids="cashbook_report.book_view_graph" readonly="1"/>
</page>
<page id="config" col="6" string="Settings">
<label name="name"/>
<field name="name"/>
<label name="dtype"/>
<field name="dtype"/>
<newline/>
<separator colspan="6" id="sepdisplay" string="Representation"/>
<label name="chart"/>
<field name="chart"/>
<label name="maincolor"/>
<field name="maincolor"/>
<label name="legend"/>
<field name="legend"/>
<separator colspan="6" id="sepdisplay" string="Representation"/>
<label name="chart"/>
<field name="chart"/>
<label name="maincolor"/>
<field name="maincolor"/>
<label name="legend"/>
<field name="legend"/>
<field name="lines" colspan="6"/>
</page>
</notebook>
</form>

View file

@ -8,4 +8,5 @@ full copyright notices and license terms. -->
<field name="chart"/>
<field name="legend"/>
<field name="maincolor"/>
<field name="lines"/>
</tree>