View Source GoogleApi.Sheets.V4.Model.BasicChartSeries (google_api_sheets v0.34.0)
A single series of data in a chart. For example, if charting stock prices over time, multiple series may exist, one for the "Open Price", "High Price", "Low Price" and "Close Price".
Attributes
-
color
(type:GoogleApi.Sheets.V4.Model.Color.t
, default:nil
) - The color for elements (such as bars, lines, and points) associated with this series. If empty, a default color is used. Deprecated: Use color_style. -
colorStyle
(type:GoogleApi.Sheets.V4.Model.ColorStyle.t
, default:nil
) - The color for elements (such as bars, lines, and points) associated with this series. If empty, a default color is used. If color is also set, this field takes precedence. -
dataLabel
(type:GoogleApi.Sheets.V4.Model.DataLabel.t
, default:nil
) - Information about the data labels for this series. -
lineStyle
(type:GoogleApi.Sheets.V4.Model.LineStyle.t
, default:nil
) - The line style of this series. Valid only if the chartType is AREA, LINE, or SCATTER. COMBO charts are also supported if the series chart type is AREA or LINE. -
pointStyle
(type:GoogleApi.Sheets.V4.Model.PointStyle.t
, default:nil
) - The style for points associated with this series. Valid only if the chartType is AREA, LINE, or SCATTER. COMBO charts are also supported if the series chart type is AREA, LINE, or SCATTER. If empty, a default point style is used. -
series
(type:GoogleApi.Sheets.V4.Model.ChartData.t
, default:nil
) - The data being visualized in this chart series. -
styleOverrides
(type:list(GoogleApi.Sheets.V4.Model.BasicSeriesDataPointStyleOverride.t)
, default:nil
) - Style override settings for series data points. -
targetAxis
(type:String.t
, default:nil
) - The minor axis that will specify the range of values for this series. For example, if charting stocks over time, the "Volume" series may want to be pinned to the right with the prices pinned to the left, because the scale of trading volume is different than the scale of prices. It is an error to specify an axis that isn't a valid minor axis for the chart's type. -
type
(type:String.t
, default:nil
) - The type of this series. Valid only if the chartType is COMBO. Different types will change the way the series is visualized. Only LINE, AREA, and COLUMN are supported.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Sheets.V4.Model.BasicChartSeries{ color: GoogleApi.Sheets.V4.Model.Color.t() | nil, colorStyle: GoogleApi.Sheets.V4.Model.ColorStyle.t() | nil, dataLabel: GoogleApi.Sheets.V4.Model.DataLabel.t() | nil, lineStyle: GoogleApi.Sheets.V4.Model.LineStyle.t() | nil, pointStyle: GoogleApi.Sheets.V4.Model.PointStyle.t() | nil, series: GoogleApi.Sheets.V4.Model.ChartData.t() | nil, styleOverrides: [GoogleApi.Sheets.V4.Model.BasicSeriesDataPointStyleOverride.t()] | nil, targetAxis: String.t() | nil, type: String.t() | nil }