Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望能够在条形图上标注条形本身,如下所示。我四处寻找有关如何执行此操作的reportlab示例,但找不到任何东西。
这对我有用:
bc.barLabels.fontName = "Helvetica" bc.barLabels.fontSize = 8 bc.barLabels.fillColor = black bc.barLabelFormat = '%d' bc.barLabels.nudge = 7