AddStackedChart
This compatibility method behaves like CreateStackedChart. Creates a stacked chart from multiple named series. It is kept so scripts written with the older AddStackedChart name continue to work.
AddStackedChart
Compatibility alias
AddStackedChart is an alternate name for CreateStackedChart. New code can use CreateStackedChart.
What it does
This compatibility method behaves like CreateStackedChart. Creates a stacked chart from multiple named series. It is kept so scripts written with the older AddStackedChart name continue to work.
When to use it
Use it to compare totals and their component parts across rows or categories. Prefer CreateStackedChart in new code so the method name matches the current API.
ElementFunction:AddStackedChart(StackConfig)
local Result = Section:AddStackedChart({
Name = "Example",
Callback = function(value)
print(value)
end,
})Behavior and return value
This alias forwards to CreateStackedChart, so its options, callbacks, and returned value follow the canonical method.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.
Related reference
AddSmoothNumber
This compatibility method behaves like AddRevenueCard. Adds an animated metric card with trends, prefixes, suffixes, and supporting mini-statistics. It is kept so scripts written with the older AddSmoothNumber name continue to work.
AddStat
This compatibility method behaves like CreateStat. Creates an animated statistic with optional delta and duration. It is kept so scripts written with the older AddStat name continue to work.