pygal.view module¶
Projection and bounding helpers
- class pygal.view.Box(xmin=0, ymin=0, xmax=1, ymax=1)[source]¶
Bases:
objectChart boundings
- property height¶
Helper for box height
- margin = 0.02¶
- property width¶
Helper for box width
- property xmax¶
X maximum getter
- property xmin¶
X minimum getter
- property ymax¶
Y maximum getter
- property ymin¶
Y minimum getter
- class pygal.view.HorizontalLogView(width, height, box)[source]¶
Bases:
XLogViewTransposed Logarithmic projection
- class pygal.view.HorizontalView(width, height, box)[source]¶
Bases:
ViewSame as view but transposed
- class pygal.view.Margin(top, right, bottom, left)[source]¶
Bases:
objectClass reprensenting a margin (top, right, left, bottom)
- property x¶
Helper for total x margin
- property y¶
Helper for total y margin
- class pygal.view.PolarThetaLogView(width, height, box, aperture=1.0471975511965976)[source]¶
Bases:
ViewLogarithmic polar projection
- class pygal.view.PolarThetaView(width, height, box, aperture=1.0471975511965976)[source]¶
Bases:
ViewLogarithmic polar projection
- class pygal.view.PolarView(width, height, box)[source]¶
Bases:
ViewPolar projection for pie like graphs
- class pygal.view.ReverseView(width, height, box)[source]¶
Bases:
ViewSame as view but reversed vertically