Skip to main content
Version: 4.2

Type alias: CustomSeriesPricePlotValues

CustomSeriesPricePlotValues: number[]

Price values for the custom series. This list should include the largest, smallest, and current price values for the data point. The last value in the array will be used for the current value. You shouldn't need to have more than 3 values in this array since the library only needs a largest, smallest, and current value.

Examples:

  • For a line series, this would contain a single number representing the current value.
  • For a candle series, this would contain the high, low, and close values. Where the last value would be the close value.