Skip to content
ChartDeck ChartScript docs Account Open the terminal

CS3001

error A script can have at most max plots.

#What it means

A script can have at most 128 plots. Every plot, plotshape, plotchar, plotarrow, plotcandle and plotbar call counts as one.

#Typical cause

  • Many outputs, often one per level or per value of a list.

#How to fix it

  • Merge outputs where you can, for example one plotshape with a changing colour instead of several.
  • For many levels or marks, use drawings (lines, labels, boxes), which have their own, larger budget.

#Example

It needs 129 plot calls, too long to show here. See Limits.

  • CS3002 — A script can have at most max inputs.
  • CS3003 — A script can have at most max alert conditions.

The ChartScript documentation is in English for now; translations will follow.