File: pie_chart

package info (click to toggle)
relatorio 0.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,600 kB
  • sloc: python: 1,945; sh: 10; makefile: 9
file content (15 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
options:
    width: 600
    height: 400
    background: {hide: true}
    legend: {hide: true}
    axis: {labelFontSize: 14}
    padding: {bottom: 10, left: 10, right: 10, top: 10}
chart:
    type: pie
    output_type: png
    dataset:
    {% for line in o.lines %}
      - - ${line.item.name}
        - - [0, $line.amount]
    {% end %}