add_floating_chart方法

add_floating_chart(self, type, left, top, width, height)

将图表添加到集合中。

返回

Chart 对象索引。


def add_floating_chart(self, type, left, top, width, height):
    ...
范围类型描述
typeChartType图表类型
leftintx 轴相对于角点的偏移
topint轴偏移到角点
widthint图表宽度
heightint图表高度

也可以看看