| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/reportlab/graphics/charts/__pycache__/ |
Upload File : |
�
}G�bd! � � � d dl mZ d dlmZmZ d dlmZmZmZm Z m
Z
d dlmZ d dl
T d dlT d dlmZ d dlmZ d dlmZ G d � d
e� � Zedk r4 e� � Ze� � � � d�
� � dS dS )� )�colors)�black�white)�Polygon�String�Drawing�Group�Rect)�Widget)�*)�cm)�getFont)�
ShadedRectc �N � e Zd ZdZ ed?i d eed�� � �d eed�� � �d eed�� � �d eed
�� � �d ee d�� � �d
ee d�� � �d ee
d�� � �d ee
d�� � �d eed�� � �d eed�� � �d ee d�� � �d eed�� � �d eed�� � �d eed�� � �d eed�� � �d eed!�� � �d" eed#�� � �d$ eed%�� � �d& eed'�� � �d( eed)�� � �d* eed+�� � �d, eed-�� � �d. eed/�� � �d0 eed1�� � �d2 eed-�� � �d3 eed4�� � �d5 eed6�� � �d7 eed8�� � ��Z
d9� Zd:� Zd;� Zd@d=�Zd>� Zd<S )A�SlideBoxzReturns a slidebox widget�
labelFontNamez Name of font used for the labels)�desc�
labelFontSizez Size of font used for the labels�labelStrokeColorzColour for for number outlines�labelFillColorzColour for number insides�
startColorzColor of first box�endColorzColor of last box�
numberOfBoxeszHow many boxes there are�trianglePositionz)Which box is highlighted by the triangles�triangleHeightzHeight of indicator triangles�
triangleWidthzWidth of indicator triangles�triangleFillColorzColour of indicator triangles�triangleStrokeColorz$Colour of indicator triangle outline�triangleStrokeWidth� boxHeightzHeight of the boxes�boxWidthzWidth of the boxes�
boxSpacingzSpace between the boxes�boxOutlineColorz)Colour used to outline the boxes (if any)�boxOutlineWidthz!Width of the box outline (if any)�leftPaddingzPadding on left of drawing�rightPaddingzPadding on right of drawing�
topPaddingzPadding at top of drawing�
bottomPaddingzPadding at bottom of drawing�
backgroundz0Colour of the background to the drawing (if any)�sourceLabelTextz/Text used for the 'source' label (can be empty)�sourceLabelOffset�sourceLabelFontNamez(Name of font used for the 'source' label�sourceLabelFontSizez Font size for the 'source' label�sourceLabelFillColorz0Colour ink for the 'source' label (bottom right)c �z � d| _ d| _ t | _ t | _ t
j ddd� � | _ t
j ddd� � | _ d | _
d | _ d
t z | _
dt z | _ t | _ t | _ d| _ d
t z | _ dt z | _ dt z | _ t | _ d| _ d| _ d| _ d| _ d| _ d | _ d| _ dt z | _ d| _ d| _ t | _ d S )NzHelvetica-Bold�
g�?g�?g�������?g�?gSSSSSS�?g�������?� g���Q��?gR���Q�?g��(\��?g�������?g\��(\�?g333333�?� zSource: ReportLabg�������?zHelvetica-Oblique� )!r r r r r r r �Colorr r r r r
r r r r r r r! r"