Skip to content

API action details

Reference for chart.change(...actions) action objects. Each page documents action context, sub-actions (Get/Update where applicable), and examples.

Action What it controls
MainPlot Sets the primary chart plot (Symbol, Expression, Forward, or Seasonal)
Aggregation Merges aggregation settings into the current aggregation
Period Changes visible period or explicit date range
Crosshair Enables/disables crosshair and styles horizontal/vertical lines
Tooltip Controls tooltip visibility, mode, and main title behavior
Events Shows or hides dividends, earnings, and split markers
Scale Configures scale mode and axis behavior
Other Misc chart settings such as comparison mode, grid lines, navigator, and locks
Plot Adds, gets, deletes, and updates plots
Compare Configures comparison plots against the main plot
Annotation Deletes, updates, or duplicates annotations
Theme Applies core chart/axis colors and font sizes
Clear Removes annotations/studies from one pane or all panes
Previous Reads or updates the previous-value guide line
MovePlot Moves a plot between panes
PinPlot Moves a plot between axes, including detached/no-axis mode