google_api_sheets v0.2.0 GoogleApi.Sheets.V4.Model.BasicChartSeries View Source
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 (Color): The color for elements (i.e. bars, lines, points) associated with this series. If empty, a default color is used. Defaults to:
null
. - lineStyle (LineStyle): 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. Defaults to:
null
. - series (ChartData): The data being visualized in this chart series. Defaults to:
null
. targetAxis (String.t): 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. Defaults to:
null
.- Enum - one of [BASIC_CHART_AXIS_POSITION_UNSPECIFIED, BOTTOM_AXIS, LEFT_AXIS, RIGHT_AXIS]
type (String.t): 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. Defaults to:
null
.- Enum - one of [BASIC_CHART_TYPE_UNSPECIFIED, BAR, LINE, AREA, COLUMN, SCATTER, COMBO, STEPPED_AREA]
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
t()
View Source
t() :: %GoogleApi.Sheets.V4.Model.BasicChartSeries{
color: GoogleApi.Sheets.V4.Model.Color.t(),
lineStyle: GoogleApi.Sheets.V4.Model.LineStyle.t(),
series: GoogleApi.Sheets.V4.Model.ChartData.t(),
targetAxis: any(),
type: any()
}
t() :: %GoogleApi.Sheets.V4.Model.BasicChartSeries{ color: GoogleApi.Sheets.V4.Model.Color.t(), lineStyle: GoogleApi.Sheets.V4.Model.LineStyle.t(), series: GoogleApi.Sheets.V4.Model.ChartData.t(), targetAxis: any(), type: any() }
Link to this section Functions
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.