pdf v2

parent 242d42f3
...@@ -348,7 +348,7 @@ def myTable(path1, path2, basefile): ...@@ -348,7 +348,7 @@ def myTable(path1, path2, basefile):
# create a bar chart and specify positions, sizes, and colors # create a bar chart and specify positions, sizes, and colors
def myBarChart(data, maxi, fecha): def myBarChart(data, maxi, fecha):
drawing = Drawing(600, 200) drawing = Drawing(570, 200)
bc = VerticalBarChart() bc = VerticalBarChart()
bc.x = 50 bc.x = 50
...@@ -362,7 +362,7 @@ def myBarChart(data, maxi, fecha): ...@@ -362,7 +362,7 @@ def myBarChart(data, maxi, fecha):
bc.strokeColor = colors.black bc.strokeColor = colors.black
bc.valueAxis.valueMin = 0 bc.valueAxis.valueMin = 0
bc.valueAxis.valueMax = maxi bc.valueAxis.valueMax = maxi+100
bc.valueAxis.valueStep = 50 bc.valueAxis.valueStep = 50
bc.categoryAxis.labels.boxAnchor = 'ne' bc.categoryAxis.labels.boxAnchor = 'ne'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment