Search results

Chart API in JavaScript (ES5) Spreadsheet API control

Represents the Chart.

Properties

dataLabelSettings

DataLabelSettingsModel

The data label for the series.

Defaults to {}

height

number

Specifies the height of the chart.

Defaults to 290

id

string

Specifies chart element id.

Defaults to

isSeriesInRows

boolean

Specifies to switch the row or a column.

Defaults to false

legendSettings

LegendSettingsModel

Options for customizing the legend of the chart.

Defaults to {}

markerSettings

MarkerSettingsModel

Options to configure the marker

Defaults to {}

primaryXAxis

AxisModel

Options to configure the horizontal axis.

Defaults to {}

primaryYAxis

AxisModel

Options to configure the vertical axis.

Defaults to {}

range

string

Specifies the selected range or specified range.

Defaults to

theme

ChartTheme

Specifies the theme of a chart.

Defaults to ‘Material’

title

string

Title of the chart

Defaults to

type

ChartType

Specifies the type of a chart.

Defaults to ‘Line’

width

number

Specifies the width of the chart.

Defaults to 480