Таблица DocumentAPI.ChartSeriesDirectionType
Таблица DocumentAPI.ChartSeriesDirectionType описывает направление серий диаграмм. Используется в методах Chart:applySettings() и Chart:getDirectionType().
| Значение | Описание |
|---|---|
DocumentAPI.ChartSeriesDirectionType_Unknown | Неопределенный тип |
DocumentAPI.ChartSeriesDirectionType_ByRow | Серии направлены по строкам |
DocumentAPI.ChartSeriesDirectionType_ByColumn | Серии направлены по колонкам |
Пример
local tbl = document:getBlocks():getTable(0)
local charts = tbl:getCharts()
print(charts:getChart(0):getDirectionType())