graph()
A graph with an axis of its own, at most 8 per script, each with up to 8 series.axis: 'category': keys are names ('Asia','14:00'), shown in the order first set.axis: 'number'(the default): keys are numbers, spaced by value (30for an RSI of 30).axis: 'time': keys are times, spaced by time.
GraphSeries
One series of a graph: a value per key on the graph’s axis. Setting a key again replaces its value; a series holds at most 1,000 keys.The value at
key, optionally in its own colour. na keeps the key with no value drawn.Graph
Bars from
base (default 0) to each value. Several bar series side by side group their bars per key.(title: string, options?: { color?: Color | null; width?: LineWidth; style?: LineStyle }): GraphSeries<K>
A line through the values, in key order.
A dot at each value,
size 1 to 12 pixels (default 3).GraphOptions
Bars series stack per key, each starting where the one before it ends, as shares of a whole do.