google_api_sheets v0.2.0 GoogleApi.Sheets.V4.Model.BasicChartSpec View Source
The specification for a basic chart. See BasicChartType for the list of charts this supports.
Attributes
- axis ([BasicChartAxis]): The axis on the chart. Defaults to:
null
. chartType (String.t): The type of the chart. Defaults to:
null
.- Enum - one of [BASIC_CHART_TYPE_UNSPECIFIED, BAR, LINE, AREA, COLUMN, SCATTER, COMBO, STEPPED_AREA]
compareMode (String.t): The behavior of tooltips and data highlighting when hovering on data and chart area. Defaults to:
null
.- Enum - one of [BASIC_CHART_COMPARE_MODE_UNSPECIFIED, DATUM, CATEGORY]
- domains ([BasicChartDomain]): The domain of data this is charting. Only a single domain is supported. Defaults to:
null
. - headerCount (integer()): The number of rows or columns in the data that are "headers". If not set, Google Sheets will guess how many rows are headers based on the data. (Note that BasicChartAxis.title may override the axis title inferred from the header values.) Defaults to:
null
. - interpolateNulls (boolean()): If some values in a series are missing, gaps may appear in the chart (e.g, segments of lines in a line chart will be missing). To eliminate these gaps set this to true. Applies to Line, Area, and Combo charts. Defaults to:
null
. legendPosition (String.t): The position of the chart legend. Defaults to:
null
.- Enum - one of [BASIC_CHART_LEGEND_POSITION_UNSPECIFIED, BOTTOM_LEGEND, LEFT_LEGEND, RIGHT_LEGEND, TOP_LEGEND, NO_LEGEND]
- lineSmoothing (boolean()): Gets whether all lines should be rendered smooth or straight by default. Applies to Line charts. Defaults to:
null
. - series ([BasicChartSeries]): The data this chart is visualizing. Defaults to:
null
. stackedType (String.t): The stacked type for charts that support vertical stacking. Applies to Area, Bar, Column, Combo, and Stepped Area charts. Defaults to:
null
.- Enum - one of [BASIC_CHART_STACKED_TYPE_UNSPECIFIED, NOT_STACKED, STACKED, PERCENT_STACKED]
- threeDimensional (boolean()): True to make the chart 3D. Applies to Bar and Column charts. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Sheets.V4.Model.BasicChartSpec{
axis: [GoogleApi.Sheets.V4.Model.BasicChartAxis.t()],
chartType: any(),
compareMode: any(),
domains: [GoogleApi.Sheets.V4.Model.BasicChartDomain.t()],
headerCount: any(),
interpolateNulls: any(),
legendPosition: any(),
lineSmoothing: any(),
series: [GoogleApi.Sheets.V4.Model.BasicChartSeries.t()],
stackedType: any(),
threeDimensional: any()
}
t() :: %GoogleApi.Sheets.V4.Model.BasicChartSpec{ axis: [GoogleApi.Sheets.V4.Model.BasicChartAxis.t()], chartType: any(), compareMode: any(), domains: [GoogleApi.Sheets.V4.Model.BasicChartDomain.t()], headerCount: any(), interpolateNulls: any(), legendPosition: any(), lineSmoothing: any(), series: [GoogleApi.Sheets.V4.Model.BasicChartSeries.t()], stackedType: any(), threeDimensional: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.