Get Started
Usage API
More information

SetSeriaXValues

SetSeriaXValues(sRange, nSeria) → { boolean }

Sets the x-axis values from the specified range to the specified series. It is used with the scatter charts only.

Parameters:

Name Type Description
sRange string

A range of cells from the sheet with series x-axis values. For example:

  • "'sheet 1'!$A$2:$A$5" - must be a single cell, row or column,
  • "A1:A5" - must be a single cell, row or column,
  • "Example series".
nSeria number

The index of the chart series.

Returns:

Type
boolean