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.

ActionWhat it controls
MainPlotSets the primary chart plot (Symbol, Expression, Forward, or Seasonal)
AggregationMerges aggregation settings into the current aggregation
PeriodChanges visible period or explicit date range
CrosshairEnables/disables crosshair and styles horizontal/vertical lines
TooltipControls tooltip visibility, mode, and main title behavior
EventsShows or hides dividends, earnings, and split markers
ScaleConfigures scale mode and axis behavior
OtherMisc chart settings such as comparison mode, grid lines, navigator, and locks
PlotAdds, gets, deletes, and updates plots
CompareConfigures comparison plots against the main plot
AnnotationDeletes, updates, or duplicates annotations
ThemeApplies core chart/axis colors and font sizes
ClearRemoves annotations/studies from one pane or all panes
PreviousReads or updates the previous-value guide line
MovePlotMoves a plot between panes
PinPlotMoves a plot between axes, including detached/no-axis mode