Skip to main content

Метод Charts.getChartIndexByDrawingIndex

Метод возвращает индекс диаграммы по индексу отрисовки drawingIndex.

Пример​


firstSheet = document.getBlocks().getTable(0)
charts = firstSheet.getCharts()
chartIndexByDrawingIndex = charts.getChartIndexByDrawingIndex(0)
print(chartIndexByDrawingIndex)