pygal.svg module¶
Svg helper
-
class
pygal.svg.
Svg
(graph)[source]¶ Bases:
object
Svg related methods
-
gauge_background
(serie_node, start_angle, center, radius, small_radius, end_angle, half_pie, max_value)[source]¶
-
ns
= 'http://www.w3.org/2000/svg'¶
-
slice
(serie_node, node, radius, small_radius, angle, start_angle, center, val, i, metadata)[source]¶ Draw a pie slice
-
solid_gauge
(serie_node, node, radius, small_radius, angle, start_angle, center, val, i, metadata, half_pie, end_angle, max_value)[source]¶ Draw a solid gauge slice and background slice
-
transposable_node
(parent=None, tag='g', attrib=None, **extras)[source]¶ Make a new svg node which can be transposed if horizontal
-
xlink_ns
= 'http://www.w3.org/1999/xlink'¶
-