AddLineChart
This compatibility method behaves like CreateChart. Creates a configurable line or filled chart with a bounded point history. It is kept so scripts written with the older AddLineChart name continue to work.
AddLineChart
Compatibility alias
AddLineChart is an alternate name for CreateChart. New code can use CreateChart.
What it does
This compatibility method behaves like CreateChart. Creates a configurable line or filled chart with a bounded point history. It is kept so scripts written with the older AddLineChart name continue to work.
When to use it
Use it for trends, time series, or changing numeric values. Prefer CreateChart in new code so the method name matches the current API.
ElementFunction:AddLineChart(ChartConfig)
local Result = Section:AddLineChart({
Name = "Example",
Callback = function(value)
print(value)
end,
})Behavior and return value
This alias forwards to CreateChart, 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
AddKeybindPanel
This compatibility method behaves like AddKeybindList. Adds a docked or detachable panel that displays active keybinds. It is kept so scripts written with the older AddKeybindPanel name continue to work.
AddMusicDisc
This compatibility method behaves like AddDiscPlayer. Adds a disc-style audio player connected to a playlist or media controller. It is kept so scripts written with the older AddMusicDisc name continue to work.