pygal.view module¶
Projection and bounding helpers
-
class
pygal.view.
Box
(xmin=0, ymin=0, xmax=1, ymax=1)[source]¶ Bases:
object
Chart boundings
-
height
¶ Helper for box height
-
margin
= 0.02¶
-
width
¶ Helper for box width
-
xmax
¶ X maximum getter
-
xmin
¶ X minimum getter
-
ymax
¶ Y maximum getter
-
ymin
¶ Y minimum getter
-
-
class
pygal.view.
HorizontalLogView
(width, height, box)[source]¶ Bases:
pygal.view.XLogView
Transposed Logarithmic projection
-
class
pygal.view.
HorizontalView
(width, height, box)[source]¶ Bases:
pygal.view.View
Same as view but transposed
-
class
pygal.view.
LogView
(width, height, box)[source]¶ Bases:
pygal.view.View
Y Logarithmic projection
-
class
pygal.view.
Margin
(top, right, bottom, left)[source]¶ Bases:
object
Class reprensenting a margin (top, right, left, bottom)
-
x
¶ Helper for total x margin
-
y
¶ Helper for total y margin
-
-
class
pygal.view.
PolarLogView
(width, height, box)[source]¶ Bases:
pygal.view.View
Logarithmic polar projection
-
class
pygal.view.
PolarThetaLogView
(width, height, box, aperture=1.0471975511965976)[source]¶ Bases:
pygal.view.View
Logarithmic polar projection
-
class
pygal.view.
PolarThetaView
(width, height, box, aperture=1.0471975511965976)[source]¶ Bases:
pygal.view.View
Logarithmic polar projection
-
class
pygal.view.
PolarView
(width, height, box)[source]¶ Bases:
pygal.view.View
Polar projection for pie like graphs
-
class
pygal.view.
ReverseView
(width, height, box)[source]¶ Bases:
pygal.view.View
Same as view but reversed vertically
-
class
pygal.view.
XLogView
(width, height, box)[source]¶ Bases:
pygal.view.View
X logarithmic projection
-
class
pygal.view.
XYLogView
(width, height, box)[source]¶ Bases:
pygal.view.XLogView
,pygal.view.LogView
X and Y logarithmic projection