117 | | The reportlab/graphics framework provides a Drawing object and many Shape objects, |
118 | | which include primitive shapes, and high-level objects like charts and legends. You |
119 | | can easily write your own too if you want to make dynamic bitmap buttons or fancy |
120 | | dashboard apps. |
121 | | |
122 | | The usual pattern we follow is to create a Drawing class with all of your widgets, |
123 | | some sensible default data, and any visual settings you want. Here is such a class, |
124 | | which has a bar chart and a string for the chart title. |
| 117 | |