Skip to main content

Таблица 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())