AddBarChart
This compatibility method behaves like CreateBarChart. Creates a bar chart from labeled points. It is kept so scripts written with the older AddBarChart name continue to work.
AddBarChart
Compatibility alias
AddBarChart is an alternate name for CreateBarChart. New code can use CreateBarChart.
What it does
This compatibility method behaves like CreateBarChart. Creates a bar chart from labeled points. It is kept so scripts written with the older AddBarChart name continue to work.
When to use it
Use it to compare discrete categories or values side by side. Prefer CreateBarChart in new code so the method name matches the current API.
ElementFunction:AddBarChart(BarConfig)
local Result = Section:AddBarChart({
Name = "Example",
Callback = function(value)
print(value)
end,
})Behavior and return value
This alias forwards to CreateBarChart, 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
AddAccordion
This compatibility method behaves like CreateFAQ. Creates an accordion-style list of questions and answers. It is kept so scripts written with the older AddAccordion name continue to work.
AddChangelogs
This compatibility method behaves like AddChangelog. Adds a structured list of releases, changes, or dated updates. It is kept so scripts written with the older AddChangelogs name continue to work.